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

Payment Term KindCalculation RuleExample (Invoice: March 5)
NET_DAYSInvoice date + parameter daysParameter=30 → April 4
EOMLast calendar day of the invoice monthMarch 31
EOM_PLUS_DAYSLast day of invoice month + parameter daysParameter=15 → April 15
MFI_DAYParameter-th day of the following monthParameter=15 → April 15

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

ScenarioDue Date Display
Payment term selectedCalculated due date (e.g., "2025-04-04")
No payment term selected"-"

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