IT-R-008:CIG/CUP codes for public contracts
Italian B2G invoices require CIG and/or CUP codes.
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: CIG Code (Codice Identificativo Gara), CUP Code (Codice Unico Progetto)
What is IT-R-008?
IT-R-008 is a warning validation rule defined in the ubl-2.1 specification (ITA national rules). It validates the BuyerReference element under ProjectReference or in the UBL invoice XML.
This is a soft validation failure. The invoice may pass initial transmission, but non-compliant values in this field can cause problems during tax audits, buyer-side processing, or downstream VAT reconciliation.
Target path: XPath: //cac:ProjectReference or //cbc:BuyerReference
Why This Error Matters
Required for Italian public procurement traceability.
IT-R-008 is a soft failure. The invoice may pass initial validation, but the non-compliant field can cause issues at the receiving end — tax authorities may flag it during audits, buyer ERP systems may fail to process it, or VAT reconciliation may produce mismatches. Fixing warnings before they accumulate prevents larger compliance gaps.
Validator Behavior
- ·Generates validation warning
- ·Fails UBL schema validation
- ·Rejected by SDI (Sistema di Interscambio)
- ·Error returned: IT-R-008
- ·Specification: ubl-2.1
How to Fix It
Get codes
CIG from tender, CUP from project
Add to invoice
ProjectReference or dedicated fields
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Incorrect value --> <cbc:BuyerReference>INVALID</cbc:BuyerReference>
<!-- Corrected value --> <cbc:BuyerReference>VALID_VALUE</cbc:BuyerReference>
Technical Reference
XPath: //cac:ProjectReference or //cbc:BuyerReferenceCommon Causes
- ·Missing CIG for PA invoice
- ·Missing CUP for funded project
Seeing this in production? The API handles IT-R-008 automatically. See the fix response →
Frequently Asked Questions
Italian B2G invoices require CIG and/or CUP codes.
Add CIG (tender code) and CUP (project code) where required. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
IT-R-008 is a warning that may not always cause rejection, but should be addressed for full compliance.
Related Errors
Last updated: 27 February 2026
Handle IT-R-008 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.