Reference
Markdown exportBR-20 Tax representative country code is required when the party is present
The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69) when a Seller tax representative party (BG-11) is present.
Problem Description
The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69) when a Seller tax representative party (BG-11) is present.
ERROR
XRechnung 3.0
Context and Significance
This is a core EN16931 conditional rule; the tax representative country determines the applicable VAT jurisdiction and must be named when the party is declared.
Solution
Add cac:TaxRepresentativeParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode with an ISO 3166-1 alpha-2 code.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-69 = DE — tax representative country code present
Invalid Examples
Use these points as the practical checks for this section.
- The tax representative cac:PostalAddress has no cac:Country/cbc:IdentificationCode
Code Examples
<cac:TaxRepresentativeParty>
<cac:PostalAddress>
<cac:Country>
<cbc:IdentificationCode>DE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
</cac:TaxRepresentativeParty><cac:TaxRepresentativeParty>
<cac:PostalAddress>
<cbc:CityName>Berlin</cbc:CityName>
</cac:PostalAddress>
</cac:TaxRepresentativeParty>