What the rule requires
The net price of a line (BT-146) must not be negative, nor the gross price (BT-148, rule BR-28).
Common causes
- A discount, voucher or deposit return as its own line with a negative price — as is often done on paper invoices.
- A return or correction as a line with a minus price.
How to fix it
Depending on what the line means:
- Discount on one line: as an allowance on that line (BG-27) or in the net price (gross price BT-148 minus discount BT-147).
- Discount on the whole invoice: as a document level allowance (BG-20) with VAT category and rate.
- Return or correction: the price stays positive, the quantity (BT-129) becomes negative. KoSIT's validator configuration has no rule against negative quantities.
How a voucher or deposit return is treated for tax is a tax question — clarify it with your tax adviser.
Example (CII): return with negative quantity
<ram:SpecifiedLineTradeAgreement>
<ram:NetPriceProductTradePrice>
<ram:ChargeAmount>20.00</ram:ChargeAmount> <!-- BT-146, positive -->
</ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery>
<ram:BilledQuantity unitCode="H87">-1</ram:BilledQuantity> <!-- BT-129, negative -->
</ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
...
<ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:LineTotalAmount>-20.00</ram:LineTotalAmount> <!-- BT-131 -->
</ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
Source: KoSIT validator configuration XRechnung 3.0.2.