The date when the Invoice period ends.
請求期間終了日。


About

Syntax binding
ubl:Invoice / cac:InvoicePeriod / cbc:EndDate
Restricted Syntax Cardinality
0..1
Example
2021-03-31
UBL 2.1
XPath
/ Invoice / cac:InvoicePeriod / cbc:EndDate
Occurrence
0..1
Datatype
DateType
UBL Definition
The date on which this period ends.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Invoicing period end date

請求期間終了日
ID
ibt-074
Description
The date when the Invoice period ends.
請求期間終了日。
Aligned Cardinality
0..1
Semantic datatype
Date

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Shared rules
ibr-029(fatal)
Unchanged
Same as 0.9.2
ibr-073(fatal)
Changed Message
[ibr-073]-A date (ibt-002, ibt-007, ibt-009, ibt-177, ibt-026, ibt-072, ibt-073, ibt-074, ibt-181, ibt-134, ibt-135) MUST be formatted YYYY-MM-DD.
context
cbc:IssueDate |
cbc:DueDate |
cbc:TaxPointDate |
cbc:StartDate |
cbc:EndDate |
cbc:ActualDeliveryDate
test
string-length(text()) =
10 and
(string(.) castable as xs:date)
ibr-co-19(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULES
JP PINT 0.9.2 Shared rules
ibr-029(fatal)
Still valid
[ibr-029]-If both Invoicing period start date (ibt-073) and Invoicing period end date (ibt-074) are given then the Invoicing period end date (ibt-074) MUST be later or equal to the Invoicing period start date (ibt-073).
context
cac:InvoicePeriod
test
(exists(cbc:EndDate) and
  exists(cbc:StartDate) and
  xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or
not(exists(cbc:StartDate)) or
not(exists(cbc:EndDate))
ibr-co-19(fatal)
Still valid
[ibr-co-19]-If Invoicing period (ibg-14) is used, the Invoicing period start date (ibt-073) or the Invoicing period end date (ibt-074) MUST be filled, or both.
context
cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate) or
(exists(cbc:DescriptionCode) and
  not(exists(cbc:StartDate)) and
  not(exists(cbc:EndDate))
)

VERSION 0.9.1 RULES
Obsoleted
Shared rules (0.9.1)
ibr-029 (fatal)
[ibr-029]-If both Invoicing period start date (ibt-073) and Invoicing period end date (ibt-074) are given then the Invoicing period end date (ibt-074) MUST be later or equal to the Invoicing period start date (ibt-073).
context
cac:InvoicePeriod
test
(exists(cbc:EndDate) and
  exists(cbc:StartDate) and
  xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or
not(exists(cbc:StartDate)) or
not(exists(cbc:EndDate))
ibr-co-19 (fatal)
[ibr-co-19]-If Invoicing period (ibg-14) is used, the Invoicing period start date (ibt-073) or the Invoicing period end date (ibt-074) MUST be filled, or both.
context
cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate) or
(exists(cbc:DescriptionCode) and
  not(exists(cbc:StartDate)) and
  not(exists(cbc:EndDate))
)

JP PINT 0.9 RULES
Obsoleted
Aligned Rules (0.9)
jp-br-06(fatal)
[jp-br-06]-Invoice period (ibg-14) shall have both Invoice period start date (ibt-073) and Invoice period end date (ibt-074).
context
ubl:Invoice/cac:InvoicePeriod
test
exists(cbc:StartDate) and
exists(cbc:EndDate)
Shared Rules (0.9)
ibr-29(fatal)
[ibr-29]-If both Invoicing period start date (ibt-073) and Invoicing period end date (ibt-074) are given then the Invoicing period end date (ibt-074) shall be later or equal to the Invoicing period start date (ibt-073).
context
cac:InvoicePeriod
test
(exists(cbc:EndDate) and
  exists(cbc:StartDate) and
  xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or
not(exists(cbc:StartDate)) or
not(exists(cbc:EndDate))

PEPPOL BIS BILLING 3.0 RULES
EN16931 model bound to UBL rules
BR-29 (fatal)
If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73).
context
cac:InvoicePeriod
test
(exists(cbc:EndDate) and
  exists(cbc:StartDate) and
  xs:date(cbc:EndDate) >= xs:date(cbc:StartDate)) or
not(exists(cbc:StartDate)) or
not(exists(cbc:EndDate))
BR-CO-19 (fatal)
If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
context
cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate) or
(exists(cbc:DescriptionCode) and
  not(exists(cbc:StartDate)) and
  not(exists(cbc:EndDate))
)