POST /sv/hacienda-sv/dte/v1 Live
One code in, what Hacienda registered out.
found, generation_code, environment, status, status_code (Hacienda’s own, e.g. SR), status_label, description, invalidated, checked_at and document: generation_code, control_number, type_code (01 factura, 03 comprobante de crédito fiscal, 05 nota de crédito, and so on), type, version, issued_date, issued_time, processed_at, reception_seal, currency, subtotal, taxed_total, exempt_total, non_subject_total, discount_total, taxes[] (code, description, amount), income_tax_withheld, vat_withheld, vat_perceived, operation_total, total, total_in_words, payment_condition and items[] (number, code, description, quantity, unit_price, discount, taxed_sale, exempt_sale, non_subject_sale).
A code Hacienda does not hold returns
found: false with HTTP 200, not an error. The code alone identifies a document; no issue date is needed.Full reference
Schemas, all response fields, and an interactive playground.