Skip to content

Filings API

Tax and statutory returns as records with a clock.

The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.

GET/v1/filings

Read returns

The returns of the workspace. Needs miniself:read.

Scope filings:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/filings

Add return

Opens a return for a period, or, with amends, a new return that amends one already answered. Needs miniself:write.

Scope filings:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/filings/{id}

Read return

One return. Needs miniself:read.

Scope filings:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/filings/{id}/steps

Take a step on a return

Prepares the figures from a signed period, has them reviewed, submits and records the authority's answer with its receipt. Needs miniself:write.

Scope filings:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.