---
title: "aid_receipts_customers_cid_get"
method: GET
path: "/accounts/{aid}/receipts/customers/{customer_id}"
tags: ["customer receipts"]
---

# aid_receipts_customers_cid_get

`GET /accounts/{aid}/receipts/customers/{customer_id}`

Get the receipts for a customer

scopes:
- admin:receipts
- read:receipts
- user:receipts

## Path parameters

- `aid` string, ^[PT]{1}\d{8}$, required
- `customer_id` string, required

## Query parameters

- `limit` integer
- `starting_after` string

## Response `200`

Receipt collection

- object
  - `receipts` ReceiptMinimal[]
    - `id` string, uuid — An UUID that uniquely identifies the resource
    - `created_at` string, date-time — The date-time when the resource was created
    - `created_by` string — The ID of the user/client created the resource
    - `updated_at` string, date-time — The date-time when the resource was last updated
    - `deleted_by` string — The ID of the user/client created the resource
    - `deleted_at` string, date-time
    - `store` Store
      - `id` string, required
      - `name` string — name of the store, aka trade name of the store
      - `business_name` string — Official name of the person or entity that owns the store.
      - `address` Address
        - `address_line` string, required
        - `address_line_2` string
        - `postal_code` string
        - `postal_place` string, required
        - `country` string, iso-3166-1, required — ISO 3166-1 country code
      - `chain` string
      - `email` string
      - `gln` string
      - `organization_number` string
      - `phone_number` string
      - `mcc` string, iso-18245 — A four-digit Merchant Category Code (MCC) for the store [ISO 18245:2003](https://www.iso.org/standard/33365.html)
      - `bax` string — Merchant number associated with the stores payment terminal
      - `terminal_id` string — Id to a specific point-of-sale (POS) terminal or workstation
      - `payout_destination_id` string — The payout destination id for the merchant of record, i.e. the seller responsible for the transaction. Required when `seitatech.in_person` payment is enabled.
    - `items` ReceiptItem[]
      - `id` string
      - `groups` object[]
        - `id` string, required — group id
        - `name` string — group name
      - `quantity` number
      - `unit` string — unit type
      - `description` string
      - `description_alias` string
      - `net_amount` integer — Monetary amount in smallest unit for the currency after discounts for items in this line
      - `net_amount_dwh` string — Monetary amount in smallest unit for the currency after discounts for items in this line in decimal
      - `gross_amount` integer — Monetary amount in smallest unit for the currency before discounts for items in this line
      - `gross_amount_dwh` string — Monetary amount in smallest unit for the currency before discounts for items in this line in decimal
      - `unit_gross_price` integer
      - `tax_percent` number
      - `line_id` integer
      - `barcode` string
      - `cost_price` integer — The purchase price the company pay for item
      - `voided` boolean
      - `scale_item` boolean — The price is calculated from scale (weight/volume).
      - `eligible_for_discount` boolean
      - `included_in_total_discount` boolean
      - `price_has_been_keyedIn` boolean
      - `discount_has_been_keyedIn` boolean
      - `is_return_item` boolean
      - `is_linked_item` boolean
      - `is_virtual_product` boolean
      - `is_changed` boolean — Discount applied to gross amount
      - `salesperson_id` string — Id of the sales person if other then the operator
      - `salesperson_name` string — Name of the sales person
      - `serial_id` string
      - `comment` string
      - `infocode_lines` InfoCodeItem[]
        - `line_id` integer
        - `amount` integer — Monetary amount in smallest unit for the currency
        - `amount_dwh` string — Monetary value with decimal
        - `infocode_id` string
        - `sub_infocode_id` string
        - `information` string
        - `input_type` integer
        - `withdrawal_from_stock` boolean
      - `tax_lines` TaxItem[]
        - `amount` integer — Monetary amount in smallest unit for the currency
        - `amount_dwh` string — Monetary value with decimal
        - `exempt` boolean
        - `included_in_price` boolean
        - `percentage` number
        - `tax_basis` integer — Total monetary value without tax
        - `tax_basis_dwh` string — Total monetary value without tax in decimal
        - `tax_code` string
        - `tax_group` string
      - `dimension` Dimension — Identify item attributes, such as size and color
        - `color` string
        - `size` string
        - `style` string
        - `config` string
        - `variant` string
      - `discount_lines` DiscountItem[]
        - `amount` integer — Monetary amount in smallest unit for the currency
        - `percentage` number — Optional, set if the amount given was from a percentage discount
        - `discount_type` 'customer' | 'periodic' | 'manual' | 'loyalty' | 'total' | 'employee' | 'external'
        - `discount_id` string
        - `description` string
        - `line_id` integer
      - `bonus_lines` BonusItem[]
        - `bonus` integer — Bonus in smallest unit for the currency
        - `percentage` number — Optional, set if the bonus given was from a percentage discount
        - `discount_type` 'customer' | 'periodic' | 'manual' | 'loyalty' | 'total' | 'employee' | 'external'
        - `discount_id` string
        - `description` string
        - `line_id` integer
      - `extra_info` ExtraInfo[]
        - `key` string
        - `value` string
        - `value_type` 'string' | 'integer' | 'number' | 'boolean' | 'datetime'
    - `gross_amount` integer — Monetary amount in smallest unit for the currency
    - `net_amount` integer — Monetary amount in smallest unit for the currency after discounts
    - `currency` string — The three-character ISO-4217 currency. https://en.wikipedia.org/wiki/ISO_4217
    - `purchase_at` string, date-time
  - `starting_after` string

## Other responses

- `401` — Access forbidden, invalid JWT token was used
- `403` — Forbidden
- `404` — Resource was not found
- `500` — Unexpected Error

---

[API](https://skmtc.net/dintero/apis/account-management-api.md) · [All operations](https://skmtc.net/dintero/apis/account-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dintero/account-management-api/revisions/9b83a4199008/schema)
