/ubl:Invoice/cbc:DueDate

Payment Due Date

Context ID INV0142
Cardinality 0..1
Usage C
Usage Description

From BR-FR-CO-09: If the billing framework (BT-23) is: - B2: Filing of a goods invoice already paid - S2: Filing of a service invoice already paid - M2: Filing of a double invoice already paid

Then, the Due Date (BT-9) must indicate the date on which the invoice was paid

From BR-CO-25: In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present.

Format Date (YYYY-MM-DD)
Mandate Business Term Code BT-9

Description

The date when the payment is due.

The payment due date reflects the due date of the net payment. For partial payments it states the first net due date. The corresponding description of more complex payment terms can be stated in the Payment terms (Final Format BT-Code: BT-20)

Details

vrbl-invoice-fr-cius-1p0

Consider FR original rule: BR-FR-CO-07: If the date is sent, it must be later than or equal to the Invoice Date (BT-2), unless the invoice is of the deposit type (BT-3): - Deposit invoice 386 - Self-billed deposit invoice 500 - Deposit invoice credit note 503

Or if the Billing Framework (BT-23) is equal to: - B2: Submission of a goods invoice already paid - S2: Submission of a service invoice already paid - M2: Submission of a duplicate invoice already paid

Rules

Rule ID Error Message
VRBL-INV-FR-CIUS-1p0-30 The Payment Due Date must be equal to or later than 2000-01-01.
VRBL-INV-FR-CIUS-1p0-31 The Payment Due Date must be equal to or earlier than 2099-12-31.
VRBL-INV-FR-CIUS-1p0-158 The Payment Due Date must generally be no earlier than the Invoice Issue Date, unless the Invoice Type Code represents advance payment or if the Invoice Subtype Code represents a prepaid invoice.
VRBL-INV-CORE-57 The Payment Due Date must follow the format YYYY-MM-DD.