Hello,
I'm getting 2 data errors when sending an XML/PEPPOL/UBL file to the Peppol platform using pdf24-Toolbox.exe createInvoice when there's a discount on an item.
For example, I have:
Quantity (BT-129): 2
Unit price (BT-146): 160
Discount (BT-138): 20%
I believe the unit price entered in the XML should be 128 (160 - 20%), not 160.
The Peppol errors are:
[PEPPOL-EN16931-R120] Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Invoice line charge amount - Invoice line allowance amount.
and
[PEPPOL-EN16931-R040] Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exist.