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

# DueDate

DueDate contains an amount that should be paid by the given date.

## Schema ID

`https://gobl.org/draft-0/pay/terms#/$defs/DueDate`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Date | `date` | [cal.Date](https://docs.gobl.org/draft-0/cal/date.md) | When the payment is due. |
| Notes | `notes` | string | Other details to take into account for the due date. |
| Amount | `amount` | [num.Amount](https://docs.gobl.org/draft-0/num/amount.md) | How much needs to be paid by the date. |
| Percent | `percent` | [num.Percentage](https://docs.gobl.org/draft-0/num/percentage.md) | Percentage of the total that should be paid by the date. |
| Currency | `currency` | [currency.Code](https://docs.gobl.org/draft-0/currency/code.md) | If different from the parent document's base currency. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `date` | <ul><li>Present</li></ul> | `GOBL-PAY-DUEDATE-01` Date is required |
| `amount` | <ul><li>Not zero</li></ul> | `GOBL-PAY-DUEDATE-02` Amount must not be zero |


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