A line's net unit price cannot be negative: it may be zero, never less. A discount, a deducted advance payment or a returned item is therefore not written as a line at a negative price.
Common causes
A discount entered as a line at a negative price.
A deducted advance payment written as a negative line.
A returned item invoiced at a negative price instead of a negative quantity.
How to fix it
For a discount, use your software's allowance: on the line concerned, or on the whole invoice.
For an advance payment already received, enter it as an amount already paid: it is deducted from the amount due.
For an item taken back or returned, enter a negative quantity at a positive price, or issue a credit note.
If your software only allows discounts as lines at a negative price, report it to the software's publisher, quoting BR-27.
Why it matters
BR-27 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-27 also fails each of them.
In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).
Does your invoice pass BR-27?
Check it against this rule only. The check runs in your browser, so nothing is sent.
Technical details
If you are interested in the technical side: the data the rule checks in the invoice file.
The net unit price is BT-146. In CII: ram:NetPriceProductTradePrice/ram:ChargeAmount in ram:SpecifiedLineTradeAgreement; in UBL: cac:Price/cbc:PriceAmount of each cac:InvoiceLine. The rule accepts a zero price. A negative quantity (BT-129) remains possible: the French rule BR-FR-DEC-02 accepts the sign "-".
In France, rule BR-FR-DEC-03 also requires a price without a "-" sign, except for the billing frames S9, M9 and B9: the example invoice, a French invoice that enters a discount as a line at −50.00 €, therefore fails both rules. Its fixed version carries the same discount on the whole invoice.
EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.