SolariumSolariumDocs
Browse The Docs

Docs/API Reference/Transactions

POST

Find The Withdrawal That Paid A Bill

Bank and card withdrawals still in review that could have paid a bill: in the bill's currency, from its date to 60 days after, for what's still owed or the whole bill. Also withdrawals that pay it together with others of the vendor's open bills (up to 5, oldest first), each with the bill_ids it would pay. Exact balance first, then names like the vendor's. Pass one's event_id to record_bill_payment as source_event_id, with its bill_ids. Read only.

Parameters

params.bill_idString!required

The bill's Solarium event id, or its QuickBooks Bill Id

Request
query {
  previewOp(organizationId: "a1b2c3d4-...", name: "bill_payment_matches", params: { bill_id: "2379" }) { result }
}
Response
{
  "data": { "previewOp": { "result": { "summary": "1 Withdrawal(s) Could Have Paid Bill SD-0531 From Harbourview Payroll Remittance, 1 For Exactly What's Owed." } } }
}