Skip to main content

List Waiting Bill Duplicates

GET 

/api/accounting/bill-sync/duplicates

List expense bills held back from sending because the provider seems to have them already. Each one waits for a person to link it to the provider's bill or mark it not a duplicate. Returns an empty list when the tenant has no Xero or QuickBooks connection.

Required scope: accounting:read

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

Each item:

  • operation_id - the waiting send; use it with the link and not-a-duplicate endpoints.
  • entry_id - the bill's journal entry.
  • connection_id.
  • bill - the SKU.io bill (id, invoice_number, supplier_name, total, invoice_date, url).
  • provider - the matching provider bill: id ({connection}:{remote_type}:{remote_id}), remote_type, remote_id, number, contact_name, total, date, status, url (link into the provider), provider_label. Fields read from the latest provider download are null when that bill was not found in it.
  • why - why the bills were matched, in plain words.

Authentication: Requires Bearer token. Scope: accounting (read/write). The user must hold the Manage bill sync permission (accounting.bill_sync).

Request​

Responses​

OK

Response Headers
    Content-Type