Vendors

Record a vendor check

Record a hand-written vendor check (no OCR). With billId the check allocates through postBillPayment; without a bill it posts DR expense / CR bank through postCheckPayment. Both paths create a payment row (type made, method check) and exactly one vendor_check with status recorded. newVendorName creates a supplier contact inline, but a normalized-key match against existing vendors returns 409 duplicate_vendor with the matches for an explicit choice instead of auto-creating a duplicate. Requires the manage:payments role and an idempotency-key header.

post/vendor-checks

Request

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

Response

Idempotent replay of a recorded check

Changes

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