Factuarea APIDevelopers

tax_rate_mismatch

The line chooses a tax (`tax_rate_id`) and also declares a `tax_rate` different from that tax's rate. The chosen tax qualifies the line (regime, AEAT qualification and exemption reason), so both values must match.

CodeTypeHTTPCategory
tax_rate_mismatchinvalid_request_error422Invoices

Cause

The line chooses a tax (tax_rate_id) and also declares a tax_rate different from that tax's rate. The chosen tax qualifies the line (regime, AEAT qualification and exemption reason), so both values must match.

What to do

Send only tax_rate_id (the rate comes from the tax) or a tax_rate equal to the tax's rate. error.line_index points at the line.

On this page

Need a hand?Contact support