A group of business terms providing information about the period relevant for the Invoice line.
請求書明細行に関連する期間に関する情報


About

Syntax binding
ubl:Invoice / cac:InvoiceLine / cac:InvoicePeriod
Restricted Syntax Cardinality
0..1
UBL 2.1
XPath
/ Invoice / cac:InvoiceLine / cac:InvoicePeriod
Occurrence
0..n
Datatype
cac:PeriodType
UBL Definition
An invoice period to which this invoice line applies.
Namespace
cac urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2

Semantic

Business Term

INVOICE LINE PERIOD

請求書明細行の期間
ID
ibg-26
Description
A group of business terms providing information about the period relevant for the Invoice line.
請求書明細行に関連する期間に関する情報
Aligned Cardinality
0..1

Child elements

  ID Business term Sem. Card. Syntax Card. XPath
 ibt-134 0..1 0..1 / Invoice / cac:InvoiceLine / cac:InvoicePeriod / cbc:StartDate
 ibt-135 0..1 0..1 / Invoice / cac:InvoiceLine / cac:InvoicePeriod / cbc:EndDate

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Aligned rules
aligned-ibr-jp-01(fatal)
Added
[aligned-ibr-jp-01]-If a date of an invoice period (ibg-14) or an invoice line period (ibg-26) is on and after October 1st 2023, Seller Tax Identifier (ibt-031) shall be coded by using a Registration Number for Qualified Invoice purpose in Japan, which consists of 14 digits that start with T.
context
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
test
(
  ((//cbc:StartDate >= '2023-10-01') or
    (//cbc:EndDate >= '2023-10-01')) and
  matches(normalize-space(cbc:CompanyID),'^T[0-9]{13}$')) or
not((//cbc:StartDate >= '2023-10-01') or
  (//cbc:EndDate >= '2023-10-01')
)
aligned-ibrp-052(fatal)
Unchanged
Same as 0.9.2
JP PINT 0.9.3 Shared rules
ibr-085(fatal)
Changed Message
[ibr-085]-Start date (ibt-134) of invoice line period (ibg-26) MUST be within invoice period (ibg-14).
context
ubl:Invoice[cac:InvoicePeriod/cbc:StartDate]/cac:InvoiceLine/cac:InvoicePeriod/cbc:StartDate |
cn:CreditNote[cac:InvoicePeriod/cbc:StartDate]/cac:CreditNoteLine/cac:InvoicePeriod/cbc:StartDate
test
xs:date(text()) >= xs:date(../../../cac:InvoicePeriod/cbc:StartDate)
ibr-086(fatal)
Changed Message
[ibr-086]-End date (ibt-135) of invoice line period (ibg-26) MUST be within invoice period (ibg-14).
context
ubl:Invoice[cac:InvoicePeriod/cbc:EndDate]/cac:InvoiceLine/cac:InvoicePeriod/cbc:EndDate |
cn:CreditNote[cac:InvoicePeriod/cbc:EndDate]/cac:CreditNoteLine/cac:InvoicePeriod/cbc:EndDate
test
xs:date(text()) >= xs:date(../../../cac:InvoicePeriod/cbc:EndDate)
ibr-110(fatal)
Unchanged
Same as 0.9.2
ibr-co-20(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULES
JP PINT 0.9.2 Aligned rule
aligned-ibrp-052(fatal)
Still valid
[aligned-ibrp-052]-An Invoice MUST have an invoice period (ibg-14) or an Invoice line period (ibg-26).
context
/ubl:Invoice |
/cn:CreditNote
test
exists(//cac:InvoicePeriod)
JP PINT 0.9.2 Shared rules
ibr-110(fatal)
Still valid
[ibr-110]-Invoice line period (ibg-26) MUST occur maximum once.
context
cac:InvoiceLine |
cac:CreditNoteLine
test
(count(cac:InvoicePeriod) <= 1)
ibr-co-20(fatal)
Still valid
[ibr-co-20]-If Invoice line period (ibg-26) is used, the Invoice line period start date (ibt-134) or the Invoice line period end date (ibt-135) MUST be filled, or both.
context
cac:InvoiceLine/cac:InvoicePeriod |
cac:CreditNoteLine/cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate)

VERSION 0.9.1 RULES
Obsoleted
Aligned rules (0.9.1)
aligned-ibr-jp-01 (fatal)
[aligned-ibr-jp-01]-If a date of an invoice period (ibg-14) or an invoice line period (ibg-26) is on and after October 1st 2023, Seller Tax Identifier shall be coded by using a Registration Number for Qualified Invoice purpose in Japan, which consists of 14 digits that start with T.
context
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']
test
(
  ((//cbc:StartDate >= '2023-10-01') or
    (//cbc:EndDate >= '2023-10-01')) and
  matches(normalize-space(cbc:CompanyID),'^T[0-9]{13}$')) or
not((//cbc:StartDate >= '2023-10-01') or
  (//cbc:EndDate >= '2023-10-01')
)
aligned-ibrp-052 (fatal)
[aligned-ibrp-052]-An Invoice MUST have an invoice period (ibg-14) or an Invoice line period (ibg-26).
context
/ubl:Invoice |
/cn:CreditNote
test
exists(//cac:InvoicePeriod)
Shared rules (0.9.1)
ibr-110 (fatal)
[ibr-110]-Invoice line period (ibg-26) MUST occur maximum once.
context
cac:InvoiceLine |
cac:CreditNoteLine
test
(count(cac:InvoicePeriod) <= 1)
ibr-co-20 (fatal)
[ibr-co-20]-If Invoice line period (ibg-26) is used, the Invoice line period start date (ibt-134) or the Invoice line period end date (ibt-135) MUST be filled, or both.
context
cac:InvoiceLine/cac:InvoicePeriod |
cac:CreditNoteLine/cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate)

JP PINT 0.9 RULES
Obsoleted
Aligned Rules (0.9)
jp-br-05(fatal)
[jp-br-05]-An Invoice shall have an Invoice period (ibg-14) or an Invoice line period (ibg-26).
context
/ubl:Invoice[cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'JP' ]
test
exists(cac:InvoicePeriod) or
exists(cac:InvoiceLine/cac:InvoicePeriod)
Shared Rules (0.9)
ibr-co-20(fatal)
[ibr-co-20]-If Invoice line period (ibg-26) is used, the Invoice line period start date (ibt-134) or the Invoice line period end date (ibt-135) shall be filled, or both.
context
cac:InvoiceLine/cac:InvoicePeriod | cac:CreditNoteLine/cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate)

PEPPOL BIS BILLING 3.0 RULE
EN16931 model bound to UBL rule
BR-CO-20 (fatal)
If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both.
context
cac:InvoiceLine/cac:InvoicePeriod |
cac:CreditNoteLine/cac:InvoicePeriod
test
exists(cbc:StartDate) or
exists(cbc:EndDate)