Gestoría client: figures for a period
gestoria_resumen_mandanteFor a gestoría account: the figures of ONE accepted client for a year or a quarter: number of invoices, net base, IVA repercutido, IRPF withheld, total, how many are still drafts; expenses with base, IVA soportado and total; plus how many blocking points and warnings the revision found. Sums and counts only, never an opinion on what to declare or deduct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year; defaults to the current one | |
| link_id | Yes | The id from gestoria_listar_mandantes, not the tenant_id | |
| quarter | No | 1-4; omit for the whole year |