Skip to main content

Bring Provider Bills into SKU.io

POST 

/api/accounting/provider-bills/review/commit

Bring every classified provider bill on the connection into SKU.io: expense bills become SKU.io bills and purchase invoices are created on their purchase orders. Each one is marked as already booked in the provider and linked to it, with its payment status and files carried over. Nothing is written to Xero or QuickBooks.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Runs in the background. The response carries tracked_job_log_id; poll GET /api/tracked-job-logs/{trackedJobLog} for progress and the result.

Each bill is brought in on its own, so one failure does not stop the rest; a failed bill gets status: failed and an error on its review row. Bills already brought in are left alone, so the call is safe to repeat.

Optional fields (query or body): connection_id. Returns 404 when the tenant has no Xero or QuickBooks connection.

Authentication: Requires Bearer token. Scope: purchase-orders (read/write). The user must hold the Review provider bills permission (bills.review_provider).

remote_ids (optional): the provider bill ids shown for confirmation. When sent, only those classified bills are brought in; bills classified later, or outside this list, wait for the next run. Omit to bring in every classified bill on the connection.

Request​

Responses​

OK

Response Headers
    Content-Type