Due Date
The due date is calculated automatically from the invoice date and the selected payment term. The calculation occurs client-side whenever the invoice date or payment term changes.
How the Due Date Is Calculated
MFI_DAY Clamping
If the parameter exceeds the number of days in the target month, the day is clamped to 28.
Example: Parameter=31 on an invoice dated January 15 → February has 28 days → due February 28.
Display Rules
Where the Due Date Appears
- Invoice form (read-only calculated field)
- Invoice list view
- Invoice detail view
- Invoice PDF
- Customer portal
Notes
- The due date field on the invoice form is read-only: it is always calculated, never manually entered
- To change a due date, change either the invoice date or the payment term
- Payment terms are configured under Settings → Payment Terms