API Referencepayroll
P32-shaped liabilities per tax month
RESTRICTED: requires a payroll:, cis: or p11d:read scope, granted after manual approval. Reads come from records held in ac-co.ai; nothing here calls HMRC. Preparing a filing never sends or approves it: a person approves in the payroll app.
Requires payroll:read. Run-derived PAYE + NI + student-loan totals per tax month against recorded HMRC payments. Statutory recovery, CIS suffered, levy and Employment Allowance are NOT in these figures (see notIncluded); confirm in the payroll app's P32 report before paying.
AuthorizationBearer <token>
In: header
Query Parameters
legalEntityId?string
Format
uuidtaxYear?string
taxMonth?integer
Range
1 <= value <= 12Response Body
application/json
curl -X GET "https://example.com/payroll/liabilities"{ "taxYear": "string", "months": [ { "legalEntityId": "41192155-f2be-4dd0-9ea4-e32ad94824f7", "taxMonth": -9007199254740991, "runCount": -9007199254740991, "payeIncomeTax": 0, "employeeNi": 0, "employerNi": 0, "studentLoans": 0, "dueBeforeReductions": 0, "paid": 0, "outstandingBeforeReductions": 0 } ], "notIncluded": "string"}