Factuarea API

line_type_invalid

The line type falls outside the closed `NORMAL` / `SUPLIDO` catalogue. An issued invoice only tells two natures apart: what you sell, which forms the taxable base and carries VAT, and a disbursement (`suplido`), money advanced in the name and on behalf of the customer, which is therefore left out of the base (art. 78.Tres.3 of the Spanish VAT Act).

CodeTypeHTTPCategory
line_type_invalidinvalid_request_error422Invoices

Cause

The line type falls outside the closed NORMAL / SUPLIDO catalogue. An issued invoice only tells two natures apart: what you sell, which forms the taxable base and carries VAT, and a disbursement (suplido), money advanced in the name and on behalf of the customer, which is therefore left out of the base (art. 78.Tres.3 of the Spanish VAT Act).

What to do

Send NORMAL for whatever you invoice as your own and SUPLIDO only for amounts you pay to a third party on the customer's behalf; error.details.allowed_values carries the exact catalogue. An expense of yours that you pass on is not a disbursement: it goes as NORMAL with its VAT rate.

On this page