Retrieve the log: when a particular sales document has been printed.

To register that a receipt has been printed, use API call registerReceiptPrint.

The presence of this API call does NOT mean that Erply back office, API and point-of-sale applications actually register all printings of invoices and receipts, and that all this information is already available over API. If you have a particular feature you want to implement, you need to create the full workflow yourself, using these API calls — registerReceiptPrint, getReceiptPrints and getPrintsForOneReceipt.

At the moment, only Berlin POS uses the "registerReceiptPrint" call, and only on Swedish accounts — to meet the needs of Swedish Z Reports.

To get a list of everything that has been printed in a certain period, see getReceiptPrints.

Input parameters

Parameter name Description Possible value Required
invoiceID Sales document ID. Integer yes


Field name Type Description
invoiceID Integer Sales document ID.
pointOfSaleID Integer Register at which the sales document was printed. This might be different from the register in which the transaction was originally made.
timestamp Integer (Unix timestamp) Printing time.
isReprint Integer (0 or 1) Whether it was a reprint or not. (A print is a "reprint" if it is produced later — regardless of whether the customer already got a paper receipt at transaction time or not.)
invoiceTotal Decimal Total value of the sales document, in sales document's currency, with VAT.