VAT by filing period
get_vat_overviewRetrieve VAT (DPH) overview per filing period, including output and input VAT, amount to pay or deduct, and due dates; closed periods are exact, open periods estimated.
Instructions
VAT (DPH) per filing period, newest first: output VAT, input VAT, amount to pay or excess deduction, due date. The filing period (monthly / quarterly) comes from the company settings. Closed periods use UOL's "DPH" closing document (exact). Open periods are estimated from issued invoices — output VAT by DUZP, input VAT by the later of DUZP and the receipt date: proformas skipped, corrective invoices counted as credit notes, internal documents and reverse charge not included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | No | Number of periods; default 4 for monthly payers, 2 for quarterly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| method | Yes | ||
| periods | Yes | ||
| truncated | Yes | ||
| vat_period | Yes |