% title "Batch processor";

Incomings, outgoings, transfers

% my %txn_selected = ( (param("txn-mode") // "all") => q{checked="checked"} );

Transaction mode:


% stash help => $_ for begin

What is the basic syntax?

You can separate the fields of each line by a comma and optional whitespace, or at least one whitespace. The order of columns is:

  1. The booking date in format YYYY-MM-DD,
  2. The account name,
  3. The value if it is a debit,
  4. The value if it is a credit,
  5. The purpose (in the case of a debit, it must start with bill ID and colon),
  6. Optional: "<< Comma-separated list of credit IDs used to pay the debt" or ">> Comma-separated list of bill IDs the booked income is used for", respectively

Multi-line purposes

Multi-line purposes must either be surrounded by " (escape literal " by doubling it), or started in the next line and terminated with an empty one.

How to book an incoming payment

In the credit column must be a value greater than 0. Cent must be passed as a decimal part, i.e. "100" really mean 100.00, not 1.00! In the debit column you MAY input a name starting with a letter (otherwise it needs to be just "+"), by which you can refer to a credit in lines below instead of the number.

How to enter a target credit

A target credit is defined as initially equal 0.

How to make an internal debt

A debit, recognized by an amount in the debit column, can have a target credit name or number in the credit column.

How to book an outgoing payment

An outgoing payment must not have a target credit. Leave that field empty.

% end