Practical guide
Download the SII received-invoice ledger
Query the correct company and reporting period
On the AEAT website, open Suministro Inmediato de Información (SII) › Todas las gestiones. Under “Consultas modificaciones y bajas,” select Consulta del Libro registro de facturas recibidas. Sign in with a role authorized for the company and filter by year and period. On the results screen, select “Exportación sin límite” at the upper left. Download the compressed CSV for the full filtered selection and retain the criteria and extraction date. If you export in batches, use ranges with no overlaps or gaps.
For web-service queries, each response supports up to 10,000 records. For larger selections, place the complete IDFactura of the last result into ClavePaginacion. Include IDEmisorFactura (NIF or IDOtro), NumSerieFacturaEmisor and FechaExpedicionFacturaEmisor. Repeat until the query is complete. AEAT technical specification for SII pagination (PDF, in Spanish).
The ledger contains submitted records. Retrieve the original invoice from the company’s document archive. Export the equivalent ERP listing with tax ID, series and number, issue and recording dates, and the amounts for each breakdown. Retain the reported period and response statuses rather than treating every row as valid.
A €680 invoice accepted with errors
Find S-680, with a €680.00 total, in the full-period CSV or combined web-service responses. If its status is accepted with errors and the invoice and journal entry already exist in the ERP, compare the response code and flagged field with the original and submitted record. If the SII record needs amendment, the tax owner checks the appropriate submission and verifies the new response. Correcting tax-reporting data does not create a second purchase entry.
Link the response to the invoice in Calitem
Match the CSV and ERP by company, issuer tax ID, series and number, with the matching period and date filters. For an ERP-only item, check the export coverage and pending submissions before assigning it to tax. For an AEAT-only item, give the accepted register reference to accounting to reconcile against the ledger. Neither mismatch authorizes a new entry or declaration on its own.
- Retrieve S-680 using its source reference and tax ID. Check the extracted number, dates and VAT amount against the original. If the response concerns tax reporting and the invoice is correctly posted, retain the journal-entry ID.
- The tax owner compares the response field with the ERP output and decides whether to amend the submission. If the error starts in the document or journal entry, accounting first authorizes the correction and retains the linked references.
- Verify that one purchase entry remains and retain the subsequent SII status, period and acknowledgment. If the tax submission’s destination state remains unknown, confirm it before sending again.
