Browse the docs

Reference · Bills

List bills

GEThttps://api.paygoro.com/v1/bills

Lists payable invoices in the bill-pay inbox, newest first. Paginated; filter by company or status.

Authorization

Requires a bearer API key with bills:read. See Authentication.

Query parameters

NameTypeDescription
companyIdstringRestrict to one legal entity. Omit to include every entity in the workspace.
status"new" | "processing" | "extract_failed" | "pending_match" | "matched" | "pending_approval" | "approved" | "scheduled" | "paid" | "rejected" | "archived"
updatedAfterstring (date-time)Only bills created or changed after this instant.
limitintegerPage size, 1–100. Defaults to 50.
cursorstringOpaque pagination cursor from a previous response's `nextCursor`.

Response

200 · application/json

FieldTypeDescription
dataarray of object
nextCursorstring | nullPass as `cursor` to fetch the next page. `null` when this is the last page.
idstringOpaque resource id.
companyIdstringOpaque resource id.
status"new" | "processing" | "extract_failed" | "pending_match" | "matched" | "pending_approval" | "approved" | "scheduled" | "paid" | "rejected" | "archived"
supplierNamestring | null
supplierIbanstring | null
invoiceNumberstring | null
totalAmountstring | null
vatAmountstring | null
currencystring | null
invoiceDatestring (date) | null
dueDatestring (date) | null
paymentReferencestring | null
matchedTransactionIdstring | nullThe transaction that settled this bill, once matched.
paidAtstring (date-time) | null
createdAtstring (date-time)Timestamp in RFC 3339 format (UTC).
updatedAtstring (date-time)Timestamp in RFC 3339 format (UTC).

Errors

400BAD_REQUESTThe request was malformed or failed validation.
401UNAUTHORIZEDMissing, malformed, expired or revoked API key.
403FORBIDDENThe API key does not have the scope this operation requires.
404NOT_FOUNDNo resource with this id exists in your workspace, or a `companyId` filter does not match one of your companies.
429TOO_MANY_REQUESTSRate limit exceeded. Retry after the `Retry-After` header.

All errors share one envelope — see Errors.