> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# ReceiptType

GraphQL object

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/types/objects/receipt-type

## Fields

- `id`
- `createdAt` — The create at of receipt.Required
- `updatedAt` — The update at of receipt.Required
- `storeHash` — The store hash of store.Required
- `customerId` — The customer id of receipt.Required
- `externalId` — The external id of receipt
- `externalCustomerId` — The external customer id of receipt
- `totalCode`
- `totalAmount`
- `payerName` — The payer name of receipt.Required
- `payerCustomerId` — The payer customer id of receipt.Required
- `details` — The details of receipt
- `paymentId` — The payment id of receipt.Required
- `transactionType` — The transaction type of receipt.Required
- `paymentType`
- `referenceNumber` — The reference number of receipt.Required
- `receiptLineSet`
- `total` — The total of receipt.Required

## Definition

```graphql
type ReceiptType implements Node {
  id: String!
  createdAt: Int
  updatedAt: Int
  storeHash: String
  customerId: Int
  externalId: Int
  externalCustomerId: Int
  totalCode: String
  totalAmount: Decimal
  payerName: String
  payerCustomerId: String
  details: GenericScalar
  paymentId: Int
  transactionType: String
  paymentType: String
  referenceNumber: String
  receiptLineSet(offset: Int, before: String, after: String, first: Int, last: Int, search: String, orderBy: String, invoiceId: String): ReceiptLinesTypeCountableConnection!
  total: GenericScalar
}
```