Skip to main content
GET
/
filings
Get the filing state
curl --request GET \
  --url https://api.app.lastaccountingcompany.com/portal/filings \
  --header 'Authorization: Bearer <token>'
{
  "period": {},
  "row_count": 123,
  "open_items": 123,
  "vat_preview": {},
  "review_system": {},
  "drafts": [
    {}
  ],
  "filings": [
    {}
  ],
  "outputs": [
    {}
  ],
  "latest_request": {},
  "authorization": {}
}

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Query Parameters

customer_id
string

Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.

range
string
default:this_month

Period selector: YYYY-MM, YYYY-Qn, YYYY, all, this_month, or last_6_months.

Response

Filing state for the selected period.

Filing state for the selected period.

period
object
row_count
integer
open_items
integer
vat_preview
object
review_system
object
drafts
object[]
filings
object[]
outputs
object[]
latest_request
object
authorization
object