BR-CO-25: what it means and how to fix it

When the amount due is positive, the payment due date or the payment terms must be present.

RuleBR-CO-25
StandardEN 16931-1, the European standard for electronic invoices
SeverityError (the invoice is not conformant)
ConcernsBT-9, BT-20: Payment due date, Payment terms

How to fix it

Add a due date or a payment terms text.

Where the field is in the XML

TermCII (XRechnung-CII, ZUGFeRD, Factur-X)UBL (XRechnung-UBL, Peppol)
BT-9
Payment due date
ram:SpecifiedTradePaymentTerms/ram:DueDateDateTime/udt:DateTimeStringcbc:DueDate
BT-20
Payment terms
ram:SpecifiedTradePaymentTerms/ram:Descriptioncac:PaymentTerms/cbc:Note

Check your own file for this rule

Up to 5 MB. Read in memory for this one request and not stored.

From your code

curl -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/xml" \
  --data-binary @invoice.xml "https://tools.funwords.eu/einvoice/validate"

The answer lists every broken rule with its number, the field, a message with the figures from your file and the fix. E-invoice API: validate, convert to JSON, and create XRechnung or ZUGFeRD XML from JSON.

Questions

What does BR-CO-25 mean?

When the amount due is positive, the payment due date or the payment terms must be present. It is a rule of EN 16931-1, the European standard for electronic invoices.

How do I fix BR-CO-25?

Add a due date or a payment terms text.

Is BR-CO-25 an error or a warning?

An error: a validator reports the invoice as not conformant, and a recipient that validates incoming e-invoices can reject it.

Rule numbers are those of EN 16931-1; the explanation is ours. Not tax or legal advice.