# Portugal CIUS-PT Invoice (UBL)

Source: https://xmlvalid.com/schemas/pt-cius-invoice

> A Portuguese e-invoice for the public administration, checked against the UBL 2.1 schema and eSPap's CIUS-PT rules (EN 16931 and BR-CIUS-PT).

Suppliers of Portuguese public bodies send electronic invoices under Decreto-Lei 111-B/2017: large companies since 1 January 2021, small and medium companies and public bodies acting as suppliers from 1 January 2027. The invoice follows CIUS-PT, the Portuguese core invoice usage specification of EN 16931 that eSPap defines, in UBL 2.1.
The CIUS-PT rules (BR-CIUS-PT-\*, DT-CIUS-PT-\*) check what Portugal adds: the buyer's identifier and contact, address lines, references to contracts and despatch advice, the formats of codes and dates, and the totals, with the tolerance of 1.00 € the specification allows.

- Type: XSD + Schematron
- Version: CIUS-PT 2.1.1
- Namespace: `urn:oasis:names:specification:ubl:schema:xsd:Invoice-2`
- Root element: `Invoice`
- Publisher: eSPap (Entidade de Serviços Partilhados da Administração Pública) (Published by eSPap for suppliers of the Portuguese State), source: https://www.espap.gov.pt/FrontEnd/Paginas/Areas/SP_Fin/SP_Fin_NormasFEAP_tpl_1.aspx
- Rules: [CIUS-PT rules (Portugal, UBL) 2.1.1](https://xmlvalid.com/rules/sets/pt-cius-ubl)
- Validate against it: https://xmlvalid.com/validate?schema=pt-cius-invoice

## Notes

- Rules run only when the document matches the schema. Documents over 50 MB are checked against the schema only.
- The rules are eSPap's Schematron for CIUS-PT 2.1.1 (26 February 2021), with the EN 16931 rules as CIUS-PT adapts them, in one set. eSPap has not published the CII form of CIUS-PT yet.
- The example is the main invoice of eSPap's CIUS-PT use cases with the identifier of the current release (CIUS-PT:2.1.1); as published, it names 1.0.0.
