Automatic quantity calculation

To ensure accurate processing of all invoice lines, a logic is applied for cases where a Line Amount and a Unit Price are specified in the invoice line but not the Quantity. This scenario is common in service-based or bulk material invoices.

In these cases, the quantity is automatically derived to ensure each invoice loads and matches successfully in the M3 batch invoice program (APS450/APS451), where quantity is a required attribute.

Quantity is calculated using this formula:

Line Amount ÷ Unit Price = Quantity

Example:

If an invoice line has a Line Amount of €1,200 and a Unit Price of €10, the Quantity is calculated as

1,200 ÷ 10 = 120 units