IncludeInTotalAmount

Description

Specifies whether or not to include the field when amount validation is performed. If it is enabled, the following business logic expression is used:

InvoiceTotalVatIncludedAmount = InvoiceTotalVatExcludedAmount + InvoiceTotalVATAmount + DeliveryCost + DeliveryCostInsurance + DeliveryCostPackaging + DeliveryCostPostage + DeliveryCostToll + InvoiceTaxAmount1 + InvoiceTaxAmount2 + InvoiceTaxAmount3 + InvoiceTaxAmount4

Valid values

0 – disabled (default)

1 – enabled

Example

The Canadian invoice profile contains two tax fields:

  • GST_HST has the field type InvoiceTotalVATAmount
  • PST has the field type InvoiceTaxAmount1 with IncludeInTotalAmount=1

In this case, ReadSoft Invoices searches for amount fields that fulfill TotalAmount = NetAmount + DeliveryCost + GST_HST + PST