warningcountryITAubl-2.1

IT-R-008:CIG/CUP codes for public contracts

Fix: Add CIG (tender code) and CUP (project code) where required. Provide the required value in the free validator.

Italian B2G invoices require CIG and/or CUP codes.

Severity
Warning
Rule set
ubl-2.1
Country
ITA
Fix type
INPUT REQUIRED

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.

The invoice may pass transmission, but this non-compliance can cause problems during tax audits or buyer-side processing.

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 that can cause issues at the receiving end — tax audits, ERP processing, or VAT reconciliation mismatches.

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

1.

Get codes

CIG from tender, CUP from project

2.

Add to invoice

ProjectReference or dedicated fields

XML Example

Generic example based on the rule's target XPath. Your actual XML structure may differ.

Before
<!-- Incorrect value -->
<cbc:BuyerReference>INVALID</cbc:BuyerReference>
After
<!-- Corrected value -->
<cbc:BuyerReference>VALID_VALUE</cbc:BuyerReference>

Technical Reference

XPathXPath: //cac:ProjectReference or //cbc:BuyerReference
Specubl-2.1

Common 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. Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.

IT-R-008 is a warning that may not always cause rejection, but should be addressed for full compliance.

Related Errors

Related Content

Last updated: 3 March 2026

Share this guide:

Validate your invoice

Drop your XML here to check for IT-R-008

Fix IT-R-008 with guided input

Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.