Schema ID
https://gobl.org/draft-0/pay/terms#/$defs/DueDate
Properties
| Title | Property | Type | Description |
|---|---|---|---|
| Date | date | cal.Date | When the payment is due. |
| Notes | notes | string | Other details to take into account for the due date. |
| Amount | amount | num.Amount | How much needs to be paid by the date. |
| Percent | percent | num.Percentage | Percentage of the total that should be paid by the date. |
| Currency | currency | currency.Code | If different from the parent document’s base currency. |
Validation Rules
| Field | Test | Validation Code / Message |
|---|---|---|
date |
| GOBL-PAY-DUEDATE-01Date is required |
amount |
| GOBL-PAY-DUEDATE-02Amount must not be zero |