GET
Preview a VAT declaration (client account)
Client space Accounting module For: Accountant · Permission: vat_declarations.create Conditions
  • The accounting module must be part of the organization’s plan.
  • The book must have accounting set up (at least one journal).
  • fiscal_period_id is required and must be a fiscal period of the book.
  • The fiscal year of the period must be open.
  • The period must have ended (its end date is in the past).
  • The period must not already be declared.
  • Declarations run oldest first: no earlier period of the book may be left undeclared and no later period may already be declared.
Part of Declare VAT.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fiscal_period_id
string
required

A period of another book is unknown here; the service still resolves it in the book.

Response

fiscal_period_id
string
required

Identifier of the fiscal period the position is computed for (27-character KSUID string).

fiscal_period
object
required

Summary of that period: id, label, start_date and end_date.

output_vat_total
integer
required

Output (collected) VAT of the period: net credit balance of the postable 443 accounts over the period, as an integer in minor units (divide by 10 to the power currency_exponent).

input_vat_total
integer
required

Input (deductible) VAT of the period: net debit balance of the postable 445 accounts over the period, as an integer in minor units. 0 when the period has no VAT movement.

prior_credit_applied
integer
required

VAT credit carried on account 4449 before the period starts (zero when none), as an integer in minor units. It is used against this period's VAT, or kept when the period has no movement.

net_due
integer
required

VAT to pay for the period: output minus input minus prior credit when positive, otherwise 0, in minor units.

net_credit
integer
required

VAT credit to carry forward: the shortfall when input plus prior credit exceeds output, in minor units. When the period has no VAT movement it equals prior_credit_applied.

currency_code
string
required

ISO 4217 code of the currency of the fiscal year, for example XOF.

currency_exponent
integer
required

Number of decimal places of the currency (0 for XOF). An amount in minor units divided by 10 to this power gives the amount in the currency.

lines
array
required

Accounting lines the declaration would post, each with account_id, account_code, direction (debit or credit) and amount in minor units. Empty when the period has no VAT movement.