vat_register_book_invalid
The book in the path does not exist. There are only three VAT register books: `issued` (invoices issued), `received` (invoices received) and `investment_goods` (investment goods). `param` is `book`.
| Code | Type | HTTP | Category |
|---|---|---|---|
vat_register_book_invalid | invalid_request_error | 422 | Tax Reports |
Cause
The book in the path does not exist. There are only three VAT register books: issued (invoices issued), received (invoices received) and investment_goods (investment goods). param is book.
What to do
Use one of the three books in {book}: GET /v1/companies/{company}/vat-registers/{book}/summary or POST /v1/companies/{company}/vat-registers/{book}/export. In Excel the file holds all three sheets whatever book the path names; only the CSV exports the requested book.
Related
All Tax Reports error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.