payables:read
Response
200 with the payable, including items, attachments and flags.
The event or service day the invoice bills for,
YYYY-MM-DD. Kept only when the invoice prints one, otherwise null.The bill number on the invoice, or
null when it has none. Send it unchanged as expectedCustomNumber to approve the bill.An opaque key for who the bill pays, such as
vk_3mQ9tXcV7bLk2RfP0aYwZe. It changes when the bill is moved to another vendor. Do not parse it. Send it unchanged as expectedVendorKey to approve the bill.The category set on the whole bill:
id and name. null when none is set, or when your business is not the bill’s payer.Answers to the bill-level custom fields, fields deleted since included:
fieldId, label, type and value. The shape of value depends on type. See Answers on bills.Line items:
id, name, description, quantity, unitAmountCents, totalCents, date, category and customFields. date is the day the line bills for, as the invoice prints it (YYYY-MM-DD), or null. An item’s category (id and name, or null) is the line’s category for your business. When several are mapped, it is the newest active one. Its customFields are the answers to the line-level custom fields, in the same shape as the bill’s.Files on the bill that your business can see, oldest first:
id, title (string | null) and type. type is proof_of_payment for a receipt attached when the bill was marked paid, and other for everything else. Accept values you do not know. Get a download link with GET /v1/payables/{payableId}/files/{attachmentId}. See Files.Flags your business raised on the bill, newest first:
id, reason, flaggedBy (the member’s name, or null) and createdAt. A flag is a note for the team and changes nothing about the bill. Empty for a bill your business is paid on. See Flag a payable.When anything this API returns about the bill last changed, ISO 8601. Line items, custom field answers, category, tags and attachments count. Flags do not. Use it as the cursor for
updatedSince on GET /v1/payables.404 not_found.
For the invoice PDF Cleo renders from the bill, call GET /v1/payables/{payableId}/invoice-pdf.
To see the payments on a bill, call GET /v1/payments?payableId={payableId}.