beel_get_fiscal_summary
Get VAT and IRPF summary for your company's invoices over a period, including annual IRPF projection and progressive bracket breakdown.
Instructions
Returns the VAT and IRPF summary of the invoices issued under this company (NIF) over the requested period, together with the annual IRPF projection and its progressive bracket breakdown.
The period defaults to the current month and may not exceed 365 days; a longer or inverted range answers 400 naming the fault in details.reason.
Endpoint: GET /v1/companies/{company_id}/fiscal-summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Period end date (inclusive). Format: YYYY-MM-DD | |
| 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. | |
| start_date | No | Period start date (inclusive). Format: YYYY-MM-DD |