Posting

Create and post a bill payment

QBO-style bill payment endpoint. Applies payment allocations to existing bills, updates bill balances, and posts the payment accounting.

post/bill-payments

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bill-payments
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Headers

Idempotency-Keystring required

Stable retry key for this posting request within the LedgerHQ organization.

Request body

vendorContactIdstring uuid required
payFromAccountIdstring uuid required
datestring date required
amountCentsinteger required

Integer cents. Example: 1250 means $12.50.

paymentType'cash' | 'check' | 'credit_card' | 'bank_transfer' | 'other'
referencestring nullable
notesstring nullable
currencyCodestring
metadataobject

Response

Idempotent replay

Changes

No recorded changes to this operation across all 5 revisions of this API.