BR-27: A net price is negative
This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.
Why this code appears
An item net price is negative (BT-146). The standard does not express negative values that way: a credit is issued as a 381 document, a reduction as an allowance element.
How to fix it
Put the price back to positive. If this is a credit note, change the document type (BT-3) to 381; if it is a reduction, use an allowance (BG-20).
What it looks like in the file
These two snippets are replayed against our own checker on a complete invoice, every time the site is built. The first one raises this code, the second one does not.
What raises the code:
<ram:ChargeAmount>-500.00</ram:ChargeAmount>
What to write instead:
<ram:ChargeAmount>500.00</ram:ChargeAmount>
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-146.