Factuarea API

cannot_have_both_tax_id_and_alternative_id

The client sends `tax_id` and an alternative identifier at the same time. Fiscal identity is one: the alternative identifier exists precisely for parties without a Spanish tax id.

CodeTypeHTTPCategory
cannot_have_both_tax_id_and_alternative_idinvalid_request_error422Clients

Cause

The client sends tax_id and an alternative identifier at the same time. Fiscal identity is one: the alternative identifier exists precisely for parties without a Spanish tax id.

What to do

Keep tax_id for Spanish parties, or the alternative identifier with its type for foreign ones, and clear the other field.

On this page