To use payment calendars
You can optionally use payment calendars to determine the due dates for sales invoices and purchase invoices. On the payment calendar, you can indicate bank holidays and other periods during which your company or an pay-by business partner cannot make payments.
If you use a payment calendar and the calculated due day is a day marked as Non-Available Day on the payment calendar, LN changes the due date to the previous working day or, in some situations, to the next working day.
Note: To determine whether a payment calendar is used, LN checks whether the Availability Type field in the ACR Parameters (tfacr0100s000) session or the ACP Parameters (tfacp0100m000) session is filled.
To determine the due date on the payment calendar
After calculating the due date as described in Due date calculation, LN uses the following algorithm to determine the payment day:
- If no payment calendar is used, the actual due date is the calculated due date.
- If a payment calendar is used, check whether the calculated due date is available for payments. If this is the case, the actual due date is the calculated due date.
- If a the calculated due date is not available for payments, find the previous day on the calendar which is available for payments. If the number of days between the calculated due date and the day found on the calendar is within the tolerance for due date of the payment terms, the actual due date is the day found on the calendar.
- If the number of days between the calculated due date and the day found on the calendar exceeds the tolerance for due date of the payment terms, the actual due date is the first day on the calendar which follows the calculated due date and is available for payment.