Skip to main content
A payable represents an invoice or bill in Cleo Pay. You create a payable to record what you owe a vendor, route it through an approval workflow, and then initiate one or more payments against it. Cleo Pay tracks two independent dimensions for every payable: the document lifecycle (is the invoice approved?) and the payment status (have funds been sent?). Understanding both dimensions is key to building reliable AP automation.

Document lifecycle status

The document status reflects where the payable sits in your approval workflow. The typical happy path is: draftpending_approvalapproved.

Payment status

The payment status tracks the financial progress of the payable, independently of its document status. A payable must be approved before a payment can be initiated against it.
These two status fields are orthogonal — a payable can be approved with payment status none (approved but not yet paid), or approved with payment status processing (approved and payment in flight). Always check both fields when building status-driven logic.

IDs: id vs publicId

Every payable has two identifiers:
  • id — an opaque internal identifier used in API requests (e.g. when creating a payment against a payable via payableId).
  • publicId — a stable, human-readable reference number shown in the dashboard and suitable for displaying in UIs, statements, or email subject lines (e.g. INV-00042). Also exposed as customNumber when you supply your own invoice number.
Use id in all API calls. Use publicId or customNumber in customer-facing surfaces.

Amount fields

All amounts are integers in cents.
When sending a payment against a payable without specifying amountCents, Cleo Pay defaults to the remainingAmountCents value, paying the invoice in full.

Date fields

Contact association

Each payable is associated with a contact representing the vendor. The contact object on a payable includes the contact’s id and displayName, allowing you to look up the full contact record at /v1/contacts/{id} if needed.

Line items

Payables support an array of items representing individual line items on the invoice.

Example payable object

Next steps

  • Payments — initiate and track payments against a payable.
  • Contacts — understand the contact associated with each payable.