Accounting Exports API
POST/api/v1/accounting-exports/xero-csv/tax-import
Product availabilityAlgaPSA

Import Xero invoice tax CSV

Ingests a Xero Invoice Details Report CSV, extracts per-invoice tax amounts, and updates the matching Alga invoices. Accepts multipart file, JSON csvContent, or raw CSV; supports preview mode. Requires billing:manage.

RBAC · billing

Query parameters

previewstringOptional

Response body

Success response 200 · schema PublicV1Success

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Import preview or result.
400
Invalid request.
401
API key missing/invalid.
403
Caller lacks the required permission.
500
Unexpected error.