Due date calculation

Kofax AP Agility calculates the invoice due date by using payment term details of the vendor according to the following pattern.

If the DUE_DAYS field in the PAYMENT_TERM_DETAILS table has a value, the DUE_DATE is calculated as follows:

DUE_DATE - INVOICE_DATE + DUE_DAYS

If the DUE_DAYS field in the PAYMENT_TERM_DETAILS table does not have a value, the DUE_DATE is calculated as follows:

DUE_DATE month = INVOICE_DATE month + DUE_MONTHS_FORWARD

The day value of DUE_DATE corresponds to the value of the DUE_DAY_OF_MONTH field.

If Kofax AP Agility is unable to calculate the DUE_DATE, an invoice is sent to the Exception activity.