Factuarea API

supplier_has_documents

The supplier is referenced by registered purchase invoices, and deleting it would leave those expenses without the party that issued them.

CodeTypeHTTPCategory
supplier_has_documentsinvalid_request_error422Suppliers

Cause

The supplier is referenced by registered purchase invoices, and deleting it would leave those expenses without the party that issued them.

What to do

Deactivate the supplier instead of deleting it: it stops appearing in selectors and its invoices keep their reference.

On this page