Receipts

Object

ReceiptAttachment

Fields Type Description

id

ID!

The ID of the attachment linkage

name

String!

The name to use when attaching the receipt

attachment

Receipt!

The receipt to be attached

Object

ReceiptPadding

Fields Type Description

top

Float

The padding for the top of the receipt

left

Float

The padding for the left of the receipt

right

Float

The padding for the right of the receipt

bottom

Float

The padding for the bottom of the receipt

Object

Receipt

Fields Type Description

id

ID!

The unique ID of the receipt

name

String!

The name of the receipt

type

ReceiptTypeEnum!

The type of receipt (used to define print size and receipt printer)

components

JSON

The components that make up the receipt

padding

ReceiptPadding

The custom padding for the receipt

receiptWidth

Int

The line width of the receipt (in characters) (only used when type equals TEXT_ONLY)

accountReceipt

Boolean!

Whether this is a receipt to use for sales (false) or for account payments (true)

attachments

[ReceiptAttachment!]!

The attachments to use when sending as an email