Factuarea API

invoice_requires_at_least_one_line

The invoice carries no operation line, so it has no taxable base and cannot be issued. This happens both when you send no lines at all and when every line you send is a disbursement: a disbursement is an amount paid on the customer's behalf (art. 78.Tres.3 LIVA), not an operation of your own.

CodeTypeHTTPCategory
invoice_requires_at_least_one_lineinvalid_request_error422Invoices

Cause

The invoice carries no operation line, so it has no taxable base and cannot be issued. This happens both when you send no lines at all and when every line you send is a disbursement: a disbursement is an amount paid on the customer's behalf (art. 78.Tres.3 LIVA), not an operation of your own.

What to do

Add at least one operation line (line_type NORMAL, the default) with description, quantity and unit price. If you actually mean to bill the expense as your own, charge it on a normal line with its VAT rate instead of declaring it a disbursement.

On this page