> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Concepts: How payment terms work

> This document explains how a payment term sets when the invoices of a contract are due, and how payment-term versions change it from a chosen date.

## Payment terms

> [accordion] Map of concepts
>
> | Concept | Details |
> | - | - |
> | | [Net-days method](#payment-terms-when-invoices-are-due): A payment term uses either the net-days method or the day-of-month method. |
> | | [Day-of-month method](#payment-terms-when-invoices-are-due): With the day-of-month method, the date that the payment term counts from decides the month of the due date. |
> | [Payment-term version](#payment-term-versions-changes-of-payment-term-over-the-contract-duration) | The payment-term versions of a contract follow one another, and cover its whole contract duration. |

> [accordion] Related modules
>
> The following modules use payment terms:
>
> | Module | Details |
> | - | - |
> | Invoices | Each invoice is due on the date that the payment-term version of its invoice date sets. |

## Payment terms: when invoices are due

A **payment term** is the rule that sets when the invoices of a [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract) are due.

A payment term counts from one of two dates:

| Date | Details |
| - | - |
| Invoice date | The date of the invoice. |
| Invoice approval date | The date when the invoice is approved. |

A payment term sets the due date with one of two methods:

| Method | Due date |
| - | - |
| Net-days method | The **net-days method** is the method of a payment term that sets the due date a number of days after the date that the payment term counts from. For example, an invoice dated March 10 with net 30 days is due on April 9. |
| Day-of-month method | The **day-of-month method** is the method of a payment term that sets the due date on a day of the month, or on the last day of the month. |

With the day-of-month method, the due date depends on the date that the payment term counts from:

| Case | Due date | Example |
| - | - | - |
| The day has not passed in the month of that date | That day | With day 15, an invoice dated March 10 is due on March 15. |
| The day has already passed | That day of the next month | With day 5, an invoice dated March 10 is due on April 5. |
| The month is shorter than the day | The last day of the month | With day 31, an invoice dated April 10 is due on April 30. |
| The last day of the month | The last day of the month of that date | An invoice dated March 10 is due on March 31. |

A new contract starts with a payment term of net 30 days from the invoice date.

## Payment-term versions: changes of payment term over the contract duration

A **payment-term version** is the payment term of a contract for one range of dates within the [contract duration](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-duration).

A contract can change its payment term from a chosen date. The change ends the payment-term version that runs on that date the day before, and starts a new payment-term version on that date. For example, a contract for 2027 starts with net 30 days from the invoice date. From July, it uses the day-of-month method: its invoices are due on the 15th.

```mermaid theme={null}
gantt
  title A change of payment term from July
  dateFormat YYYY-MM-DD
  axisFormat %b
  section Contract
  Contract duration                           :2027-01-01, 2027-12-31
  section Payment terms
  Payment-term version, net 30 days           :2027-01-01, 2027-06-30
  Payment-term version, the 15th              :2027-07-01, 2027-12-31
```

This conceptual diagram shows a change of payment term from a chosen date, which splits the contract duration into two payment-term versions.

The payment-term versions of a contract follow one another, without overlaps, and cover the whole contract duration. Zenskar fills each range of dates that has no payment-term version with a payment-term version of the default payment term: net 30 days from the invoice date. For example, if a contract for 2027 has a payment term of net 45 days only from April to September, the default payment term covers January to March, and October to December.

Each invoice uses the payment-term version whose dates include the invoice date. An invoice dated after the contract duration uses the last payment-term version.

```mermaid theme={null}
gantt
  title The default payment term fills the gaps
  dateFormat YYYY-MM-DD
  axisFormat %b
  section Contract
  Contract duration                           :2027-01-01, 2027-12-31
  section Payment terms
  Payment-term version, net 30 days (default) :2027-01-01, 2027-03-31
  Payment-term version, net 45 days           :2027-04-01, 2027-09-30
  Payment-term version, net 30 days (default) :2027-10-01, 2027-12-31
```

This conceptual diagram shows how the default payment term fills the ranges of dates that no payment-term version covers.

See [Set a payment term](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/payment-terms.md#set-a-payment-term).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.