Keep Provider Bill Header Change
POST/api/accounting/provider-bills/review/:remoteId/header-change/resolve
The provider changed the supplier or currency of a bill already brought into SKU.io (listed in the scan's header_changes). SKU.io never remaps it silently; this keeps the SKU.io record as it is and clears the flag (the provider's current header becomes the new baseline). To use the provider's new supplier or currency instead, delete the SKU.io copy: its provider bill returns to the wizard to be brought in again. A new number is copied onto the SKU.io record by the nightly refresh and needs no action. Nothing is written to Xero or QuickBooks.
purchase-orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request fields:
connection_id(optional, integer).
Returns the review (same fields as Resolve Provider Bill Invoice Total, plus provider_header: committed (number, contact_id, contact_name, currency) and changes). A currency change is the exception: SKU.io's copy can't take the provider's amounts in another currency, so the nightly refresh holds every amount, payment and balance while the currencies differ, and the currency flag stays after this call (any supplier change it carried clears). Delete the SKU.io copy and bring the bill in again, or wait for the provider to change back. Returns 422 when the bill has no change to resolve, or its only change is a currency SKU.io's copy is not in.
Authentication: Requires Bearer token. Scope: purchase-orders (read/write). The user must hold the Review provider bills permission (bills.review_provider).
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.