beel_get_tax_configuration
Retrieve a company's tax configuration by NIF, including default tax regime, main percentage, IRPF, and equivalence surcharge settings. Use to verify applicable tax rates before issuing invoices.
Instructions
Returns the tax configuration of a company (NIF): its default tax regime with the default main percentage and regime key, plus its IRPF and equivalence surcharge settings.
The catalogue of tax types this configuration draws from is not company data and lives outside this resource.
Endpoint: GET /v1/companies/{company_id}/tax-configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | NIF (company) the operation acts on. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A NIF you do not reach answers `403`, and so does a NIF that does not exist, so the existence of a NIF in another account is never disclosed. |