Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Description of the operation
1 - 500"Servicios de consultoría - Diciembre 2025"
Invoice type: • F1 = Normal invoice • F2 = Simplified invoice (no recipient ID) • R1–R5 = Corrective invoices • F3 = Replacement of simplified invoices
F1, F2, R1, R2, R3, R4, R5, F3 Invoice issue date. MUST be the current date (DD-MM-YYYY). If the operation occurred on a past date, use operation_date instead.
"07-12-2025"
Invoice lines. Maximum 12 items (AEAT restriction). Group items with same VAT rate to avoid exceeding limit.
Invoice number. Required. The concatenation of series + number cannot exceed 60 characters.
"2025/00123"
Indicates status of previous submission: N = normal correction (original accepted) S = previous corrective was rejected X = original invoice was rejected by AEAT
N, S, X Invoice series. Can be empty string (""). Must not begin with a space. The concatenation of series + number cannot exceed 60 characters.
""
Total invoice amount. Validated against sum of lines with ±10€ tolerance (except for special regimes 03, 05, 06, 08, 09)
"1210.00"
NumRegistroAcuerdoFacturacion. If provided, must exist in AEAT.
15"ABC123456789012"
List of invoices being corrected. Optional but recommended for R1–R5.
Required when corrective_type = S. Contains totals of the invoice being replaced.
Required ONLY for corrective invoices (R1, R2, R3, R4, R5): • S = By substitution (total replacement) • I = By differences (partial correction)
S, I Contexto adicional para aplicar FAQs operativas
Alternative identifier for non-Spanish or special cases (VAT number, passport, etc.). Required for EU/international recipients or when NIF not applicable.
Set to "S" only if an incident occurred during invoice processing
"S"
Recipient name and surname or company name. Required except for simplified invoices (F2, R5).
120"ACME Solutions S.L."
Recipient Spanish NIF. Required except for F2 and R5 if id_otro is provided. If both NIF and id_otro are sent, id_otro takes precedence.
"B12345678"
Date of the operation/transaction. Can be a past date. Required if different from issue_date and was included in original record.
"01-12-2025"
Only for F3 invoices: list of simplified invoices being replaced.
IdAcuerdoSistemaInformatico. If provided, must exist in AEAT.
16"ABC1234567890123"
Special flags: • coupon (R1/R5) • simplified_invoice_art_7273 (F1, F3, R1–R4) • invoice_without_recipient_id_art_61d (F2, R5) • issued_by_third_party_or_recipient (T/D)
Whether to validate recipient in AEAT census and VIES (for EU VAT). Set to false only if you are 100% sure they are registered.
Invoice successfully corrected
Correlation ID for tracking this correction request across distributed systems
"550e8400-e29b-41d4-a716-446655440000"
Corrected invoice data returned after successful submission
Indicates whether the correction submission was successful
true
Present only when VeriFactu accepts the correction with remaining correctable errors (EstadoRegistro = 'AceptadaConErrores'). These are admissible errors that don't prevent invoice registration but should be fixed in a subsequent correction.
{
"codigo": "2005",
"mensaje": "El campo ImporteTotal presenta valor incorrecto para los valores de campos BaseImponibleOimporteNoSujeto, CuotaRepercutida y CuotaRecargoEquivalencia suministrados.",
"severity": "warning",
"type": "verifactu_accepted_with_errors"
}