Portugal fiscal
SAF-T (PT) Validator
Pre-check a SAF-T (PT) 1.04_01 file before it goes to AT. The file is read in your browser and never uploaded. Each finding points to the OPERA Cloud setting that usually causes it.
Drop a SAF-T XML file here
or click to choose a file. Nothing leaves this browser.
Try a synthetic sample:
Export build and customisation guide
Findings
| Level | Area | Finding |
|---|
What it checks
- Well-formed XML,
AuditFileroot and the 1.04_01 namespace - Every mandatory header field, EUR currency, accounting basis
- Company and software NIFs with the check digit
- Software certificate number present and not 0
- Customers, products and the tax table in MasterFiles
- InvoiceNo format
TYPE SERIES/NUMBERand document types - ATCUD present, not 0, at least 8 characters plus sequence
- Hash present, invoice dates inside the file period
- Every document customer and product exists in MasterFiles
- Exemption code and reason on every 0% IVA line
- Line net totals, GrossTotal = NetTotal + TaxPayable
- NumberOfEntries, TotalDebit and TotalCredit, excluding cancelled documents
- Credit notes carry references to the original document
- Duplicates and gaps in each series
- Payment mechanism codes in the Payments section
A pre-check against the SAF-T (PT) 1.04_01 structure and Portuguese invoicing rules. It does not verify signatures and does not replace the AT validation service on the e-fatura portal.