Attestwire › Rule reference › BR-IC-12
BR-IC-12 An intra-community supply must state the deliver-to country
noun · EN 16931 · fatal · BT-80
For a sample invoice, the library reports: 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.
- Business term
BT-80- Severity
fatal
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).
A passing value
"deliverTo": { "city": "Lyon", "postalCode": "69001", "countryCode": "FR" }What the library returns
The full error returned by @attestwire/en16931. It includes the rule ID,
affected field and suggested correction. Developers can use this object in their application:
{
"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 is always a UBL path. On a CII invoice, look for the
matching CII field instead.