UseLastLineItemsToGetVatTable

Available starting with Kofax ReadSoft Invoices 6.1.

Description

If this flag is enabled, ReadSoft Invoices compares the line N's total amount with InvoiceTotalField value:

  • If the total amount matches with InvoiceTotalField value, line N is copied to the VAT table.
  • If the total amount is greater than InvoiceTotalField value, no lines are copied to the VAT table.
  • If the total amount is less than InvoiceTotalField value, then the total amount of line N and line N-1 are added. If the value matches with the InvoiceTotalField value, line N and line N-1 are copied to the VAT table. Otherwise, line N, line N-1, line N-2... are added to match with InvoiceTotalField.

Also, the difference between the total amount calculated by adding the amount from line N, line N-1, line N-2... and InvoiceTotalField amount should not be more than the absolute tolerance value set in the VatTableAbsoluteTolerance flag.

Valid values

  • 0 = Flag is disabled.
  • 1 = Flag is enabled and ReadSoft Invoices uses the last line items to extract VAT table.