Browse the docs

Reference · Bills

Get a bill

GEThttps://api.paygoro.com/v1/bills/{id}

Authorization

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

Path parameters

NameTypeDescription
idrequiredstringOpaque resource id.

Response

200 · application/json

FieldTypeDescription
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.