UBL-FREXT-CR-645

A UBL invoice should not include the DeliveryTerms except ID and location cac:DeliveryLocation/cbc:Name (for INCOTERMS) on line level

Official rule text

[UBL-FREXT-CR-410]-A UBL invoice should not include the DeliveryTerms except ID and location cac:DeliveryLocation/cbc:Name (for INCOTERMS) on line level

Where the rule applies

Rule setDocument typeSeverity
French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
FNFE-MPE
EXTENDED-CTC-FR (UBL Invoice), EXTENDED-CTC-FR (UBL CreditNote)warning

Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.

Technical check

Syntax
UBL · French rules BR-FR, EXTENDED-CTC-FR (1.4.0.04)
Context
/ubl:Invoice | /cn:CreditNote
Test (must be true)
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DeliveryTerms) or (not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DeliveryTerms/*[not(self::cbc:ID or self::cac:DeliveryLocation)]) and not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DeliveryTerms/cac:DeliveryLocation/*[not(self::cbc:Name)]))

How the API reports this rule

Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):

{
  "severity": "warning",
  "ruleId": "UBL-FREXT-CR-645",
  "message": "[UBL-FREXT-CR-410]-A UBL invoice should not include the DeliveryTerms except ID and location cac:DeliveryLocation/cbc:Name (for INCOTERMS) on line level",
  "xpath": "/…",
  "source": "schematron:france-rfe@1.4.0.04",
  "docUrl": "https://einvoice-api.eu/rules/ubl-frext-cr-645.html"
}

Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.

Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.