Pre-checks of a flagged invoice

A draft of an invoice always saves. The checks run when an invoice with the flag "Fiscalize (PRRO)" is submitted and once more before it is fiscalized.

Check Why What to change
Currency UAH (invoice and company) a fiscal receipt is kept in hryvnia change the currency
Requisites of the company and the business unit they go into the receipt fill them in (Company requisites and site setup)
An enabled PRRO cash register of the company no PRRO, no receipt create a PRRO
Default Cash Account, Round Off Account, Round Off Cost Center ERPNext posts the change and the rounding to them set them in the company
Include Payment (POS) is on the invoice is paid at once turn it on
One payment row with an amount a receipt has one payment form remove the extra rows
The PRRO payment form of the mode of payment cash or card set the form
Cash: the rounded total is the grand total rounded to the step the rounding rule save the invoice again
Paid in full a receipt records the full payment collect the rest
Write-off, advance and loyalty points are zero the payment in the receipt matches the total of the lines remove the write-off, the advance or the points
Discount on the total: below the total of the lines, zero or more, every line keeps an amount to pay, an ordinary (trade) discount the discount is distributed across the lines of the receipt change the discount
Card: "Disable Rounded Total" and the amount equals the grand total a card is not rounded correct it
Item rows: decimals are limited to 2 in a rate, 3 in a quantity and 2 in an amount the limits of the receipt format correct them
The name of the unit on receipts it is printed in the line fill it in
The row amount equals price × quantity and is not above the price list rate × quantity a receipt carries the price and the discount change the quantity or the rate
Texts that can be written into a receipt (the cp1251 encoding) a limit of the format replace the character
VAT payer: taxes included in the price, the type On Net Total, a letter in the settings the tax table of the receipt correct them (VAT letters and the receipt tax table)
Not a VAT payer: the invoice has no taxes a receipt without a tax table remove the taxes
A return: the invoice has "Return Against", negative rows, total and payment a return receipt refers to the sale check the return invoice
A return: an accepted sale receipt (or the receipt number of an old sale from a PRRO Manager) the return receipt carries the number of the original returns
A return: the returned quantity is not above the sold quantity minus earlier returns more than was sold cannot be returned reduce the quantity
The return of a sale with a discount on the total: the whole sale (every item in the sold quantity) with the same discount the discount of the sale applies to the whole receipt return the whole sale with the discount
The return of a sale without a discount on the total: a return without a discount the return equals the amount paid for the sale clear the discount of the return
Before fiscalizing: the cashier has an open shift a receipt belongs to a shift open a shift

The discount on the total

The discount on the total (an amount or a percentage of the invoice) is the difference between the total of the lines and the grand total. The app distributes it across the lines in proportion to their amounts, in kopecks:

  1. The share of a line is the discount × the amount of the line / the total of the lines; every share is rounded down to a kopeck.
  2. The kopecks still missing from the discount go one at a time to the lines with the largest fractional parts (the largest remainder method); on equal parts, to the line with the larger amount, then to the first one.
  3. The share is added to the discount of the line and lowers the amount of the line and the tax base; a percentage discount of the line becomes a discount in an amount. The discounts of the lines add up to the discount on the total.

An example: lines of 100.00 and 200.00 and a discount of 10.00 give the shares 3.33 and 6.67.

The app refuses a discount equal to the total of the lines or above it, a negative discount and a discount after which the amount to pay for a line is zero. A cash (non-trade) discount lowers the total while the tax stays the same: it has a message of its own. The return of a sale with a discount on the total is accepted as a whole, with the discount of the sale; the app refuses a partial return of such a sale, a return that drops the discount of the sale and a return with a discount that the sale did not have.

A full card number is refused at every save, flagged or not. The texts of the refusals are collected in Troubleshooting.

Discard
Save
This page has been updated since your last edit. Your draft may contain outdated content. Load Latest Version

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on