# Objects / Receipts

# Receipts

**Object**
## ReceiptAttachment

| Fields | Type | Description |
| --- | --- | --- |
| id | [ID!](/documentation/Types/UUID#UUID) | The ID of the attachment linkage |
| name | *String!* | The name to use when attaching the receipt |
| attachment | [Receipt!](/documentation/Objects/Receipts#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!](/documentation/Types/UUID#UUID) | The unique ID of the receipt |
| name | *String!* | The name of the receipt |
| type | [ReceiptTypeEnum!](/documentation/Enums/Receipt-Type-Enum#ReceiptTypeEnum) | The type of receipt (used to define print size and receipt printer) |
| components | [JSON](/documentation/Types/JSON#JSON) | The components that make up the receipt |
| padding | [ReceiptPadding](/documentation/Objects/Receipts#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!]!](/documentation/Objects/Receipts#ReceiptAttachment) | The attachments to use when sending as an email |