DoAmountValidation

Calculation of missing values

If ReadSoft Invoices does not find InvoiceTotalVatIncludedAmount, InvoiceTotalVatExcludedAmount, InvoiceTotalVatRatePercent, or InvoiceTotalVATAmount on the invoice, it will calculate and propose a suggestion, provided the following conditions are met:

  1. DoAmountValidation must be enabled.
  2. The InvoiceTotalVatIncludedAmount, InvoiceTotalVatExcludedAmount, and InvoiceTotalVATAmount fields must be present in the invoice profile. (InvoiceTotalVatRatePercent and DeliveryCost do not have to be.)
  3. The other two fields must be found on the invoice. (InvoiceTotalVatRatePercent and DeliveryCost do not have to be.)

Example: If InvoiceTotalVatExcludedAmount is missing, ReadSoft Invoices calculates a proposed value if InvoiceTotalVatIncludedAmount and InvoiceTotalVATAmount are found.

This calculation is used in Interpret and during reinterpretation in Verify.

Note
  • An error message is displayed if there is a difference between the calculated and extracted VAT rates.
  • InvoiceTotalVatRatePercent does not have to be found on the invoice (or even in the invoice profile) for ReadSoft Invoices to make a proposal. Instead, the tax rate(s) is gotten from VATValue1, VATValue2, etc. in Eiglobalextra.ini. This is also true if InvoiceTotalVatRatePercent is 0.

Valid values

0 – disabled

1 – enabled