BR-IC-12 An invoice with an intra-community supply (category K) must state the deliver-to country code (BT-80)
An invoice with an intra-community supply (category K) must state the deliver-to country code (BT-80). The zero rate depends on the goods physically leaving your member state, so the destination has to be on the document.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-80- Severity
fatal
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"rule": "BR-IC-12",
"field": "BT-80",
"severity": "fatal",
"message": "An invoice with an intra-community supply (category K) must state the deliver-to country code (BT-80). The zero rate depends on the goods physically leaving your member state, so the destination has to be on the document.",
"fix": "Set deliverTo.countryCode to the ISO 3166-1 alpha-2 code of the destination member state — it must differ from the seller country. Under XRechnung you must also supply deliverTo.city and deliverTo.postalCode (BR-DE-10, BR-DE-11).",
"example": "\"deliverTo\": { \"city\": \"Lyon\", \"postalCode\": \"69001\", \"countryCode\": \"FR\" }",
"xpath": "/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address/cac:Country/cbc:IdentificationCode",
"docsUrl": "https://attestwire.com/rules/BR-IC-12"
}
xpath locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"deliverTo": { "city": "Lyon", "postalCode": "69001", "countryCode": "FR" }The fix
Set deliverTo.countryCode to the ISO 3166-1 alpha-2 code of the destination member state — it must differ from the seller country. Under XRechnung you must also supply deliverTo.city and deliverTo.postalCode (BR-DE-10, BR-DE-11).