Context
NZ
/ubl:Invoice/cac:InvoicePeriod
VRBL-Invoice-NZ-1p0 - Invoicing Period
New Zealand |
VRBL-Invoice-NZ-1p0
| Context ID | INV0155 |
| Usage | O |
Description
A group of business terms providing information on the invoice period.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:StartDate |
Invoicing Period Start Date
The date on which this period begins. |
0..1 |
| O | cbc:EndDate |
Invoicing Period End Date
The date on which this period ends. |
0..1 |
| O | cbc:DescriptionCode |
Period Description Code
A description of this period, expressed as a code. |
0..n |
Details
Example: NZ_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoicePeriod>
<cbc:StartDate>2022-06-15</cbc:StartDate>
<cbc:EndDate>2022-07-15</cbc:EndDate>
</cac:InvoicePeriod>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-PINT-128 | If both Invoicing Period Start Date and Invoicing Period End Date are given then the Invoicing Period End Date must be later or equal to the Invoicing Period Start Date. |
| VRBL-INV-PEPPOL-PINT-129 | If the Invoicing Period is used, the Invoicing Period Start Date or Invoicing Period End Date must be filled, or both. |
| VRBL-INV-PEPPOL-PINT-130 | The Invoicing Period expects a maximum of one Description Code |
| VRBL-INV-CORE-65 | The Invoicing Period expects a maximum of one Period Description Code. |
| VRBL-INV-CORE-66 | If both Invoicing Period Start Date and Invoicing Period End Date are given then the Invoicing Period End Date must be later or equal to the Invoicing Period Start Date. |