Factuarea APIDevelopers

expense_category_name_taken

Another expense category of the company already has that name. The comparison ignores capitalization and accents and also counts the archived categories, so the name stays reserved even when the category that holds it is not shown. `param` is `name`.

CodeTypeHTTPCategory
expense_category_name_takeninvalid_request_error422Expenses

Cause

Another expense category of the company already has that name. The comparison ignores capitalization and accents and also counts the archived categories, so the name stays reserved even when the category that holds it is not shown. param is name.

What to do

Pick a different name or use the existing category (GET /v1/companies/{company}/purchase-invoices/expense-categories?status=all lists them, archived ones included). If the name belongs to an archived category, restore it with POST /v1/companies/{company}/purchase-invoices/expense-categories/{expense_category}/restore instead of creating another one.

On this page

Need a hand?Contact support