A code that identifies the country.
買い手の住所の国コード。


About

Syntax binding
ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PostalAddress / cac:Country / cbc:IdentificationCode
Restricted Syntax Cardinality
1..1
Example
JP
UBL 2.1
XPath
/ Invoice / cac:AccountingCustomerParty / cac:Party / cac:PostalAddress / cac:Country / cbc:IdentificationCode
Occurrence
0..1
Datatype
CountryIdentification_CodeType
UBL Definition
A code signifying this country.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Buyer country code

買い手国コード
ID
ibt-055
Description
A code that identifies the country.
買い手の住所の国コード。
Cardinality
Semantic datatype
Code

Code list(s)

ISO3166
ISO 3166-1:Alpha2 Country codes

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Shared rules
ibr-011(fatal)
Unchanged
Same as 0.9.2
ibr-cl-14(fatal)
Changed Message
[ibr-cl-14]-Country codes (ibt-040, ibt-055, ibt-069, ibt-080, ibt-175) in an invoice MUST be coded using ISO code list 3166-1
context
cac:Country/cbc:IdentificationCode
test
(
  (
    not(contains(normalize-space(.), ' ')) and
    contains(' 1A AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS XI YE YT ZA ZM ZW ',
      concat(' ', normalize-space(.), ' ')
    )
  )
)

VERSION 0.9.2 RULE
JP PINT 0.9.2 Shared rule
ibr-011(fatal)
Still valid
[ibr-011]-The Buyer postal address (ibg-08) MUST contain a Buyer country code (ibt-055).
context
cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
test
(cac:Country/cbc:IdentificationCode) != ''
Code list rule (Shared rule)
ibr-cl-14 (fatal)
[ibr-cl-14]-Country codes in an invoice MUST be coded using ISO code list 3166-1
Context
cac:Country/cbc:IdentificationCode
Test
(
  (
    not(contains(normalize-space(.), ' ')) and
    contains(' 1A AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS XI YE YT ZA ZM ZW ',
      concat(' ', normalize-space(.), ' ')
    )
  )
)

JP PINT 0.9 RULES (Obsoleted)
Shared Rule (0.9)
ibr-11(fatal)
[ibr-11]-The Buyer postal address (ibg-08) shall contain a Buyer country code (ibt-055).
Context
cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
Test
(cac:Country/cbc:IdentificationCode) != ''
EN16931 model bound to UBL rule
BR-11 (fatal)
The Buyer postal address shall contain a Buyer country code (BT-55).
context
cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
test
(cac:Country/cbc:IdentificationCode) != ''