Skip to main content

customerInvoicePdf

Requires a customer (portal or buyer app) session.

Base64 PDF of one of THIS partner's invoices (mirrors the staff pdf resolver)..

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CustomerInvoicePdf($invoiceId: ID!) {
customerInvoicePdf(invoiceId: $invoiceId)
}

Variables:

{
"invoiceId": "id"
}

Response:

{
"data": {
"customerInvoicePdf": "string"
}
}
customerInvoicePdf(
invoiceId: ID!
): String!

Arguments​

customerInvoicePdf.invoiceId ● ID! non-null scalar​

The ID of the invoice.

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.