# List closed-check summaries for a business-date window

Requires scope `checksummaries:read`. The reporting projection of a check, pre-bucketed into items, payments, taxes, discounts, fees, gratuities, voids, refunds and sales categories. Supply exactly one of `businessDate`, `businessDates`, or `businessDateStart`+`businessDateEnd`; a window is required and may span at most 7 days (query day by day for longer spans).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "NX Public API",
    "version": "1.0.0",
    "description": "Public marketplace API. Authenticate via POST /oauth/token (client-credentials + venueId) to obtain a short-lived bearer token, then call resource endpoints. Tokens are venue-pinned: each is scoped to a single venue and the scopes granted to that integration."
  },
  "servers": [
    {
      "url": "https://prod.api.nxapp.net/public/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Bearer token from /oauth/token."
      }
    },
    "schemas": {
      "Meta": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "cursor": {
            "type": "string",
            "description": "Opaque pagination cursor; present when more results exist."
          }
        },
        "required": [
          "requestId"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Stable, machine-readable error code (e.g. RESOURCE_NOT_FOUND)."
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "requestId": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message",
              "requestId"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "CheckSummaryDetail": {
        "type": "object",
        "description": "One bucketed line of a check summary (an item, payment, tax, discount, fee, void...).",
        "properties": {
          "id": {
            "type": "string"
          },
          "metaId": {
            "type": "string",
            "description": "Id of the underlying record (menu item, tender, tax, ...)."
          },
          "parentMetaId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "detailType": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "count": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "seatId": {
            "type": "string"
          },
          "employeeId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "salesCategoryId": {
            "type": "string"
          },
          "pricePointId": {
            "type": "string"
          },
          "pricePointName": {
            "type": "string"
          },
          "isOpenPrice": {
            "type": "boolean"
          },
          "isCustomName": {
            "type": "boolean"
          },
          "grossSalesTotal": {
            "type": "number"
          },
          "netSalesTotal": {
            "type": "number"
          },
          "taxableTotal": {
            "type": "number"
          },
          "inclusiveTaxTotal": {
            "type": "number"
          },
          "exemptTotal": {
            "type": "number"
          },
          "exemptReason": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "discountId": {
            "type": "string"
          },
          "discountName": {
            "type": "string"
          },
          "discountTotal": {
            "type": "number"
          },
          "discountedAt": {
            "type": "string"
          },
          "discountedByEmployeeId": {
            "type": "string"
          },
          "refundTotal": {
            "type": "number"
          },
          "voidName": {
            "type": "string"
          },
          "voidTotal": {
            "type": "number"
          },
          "voidedAt": {
            "type": "string"
          },
          "voidedByEmployeeId": {
            "type": "string"
          },
          "approvedByEmployeeId": {
            "type": "string"
          },
          "tipTotal": {
            "type": "number"
          },
          "tipFeeTotal": {
            "type": "number"
          },
          "tipRetainedTotal": {
            "type": "number"
          },
          "disbursement": {
            "type": "string"
          },
          "cardBrand": {
            "type": "string"
          },
          "balance": {
            "type": "number"
          },
          "changeDueTotal": {
            "type": "number"
          },
          "customerTenantId": {
            "type": "string"
          },
          "taxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          }
        },
        "required": [
          "id",
          "total"
        ]
      },
      "CheckSummary": {
        "type": "object",
        "description": "The closed-check reporting record, pre-bucketed for sales rollups. Guest/delivery details are not exposed.",
        "properties": {
          "id": {
            "type": "string"
          },
          "checkId": {
            "type": "string"
          },
          "businessDate": {
            "type": "string"
          },
          "checkNumber": {
            "type": "number"
          },
          "checkName": {
            "type": "string"
          },
          "shortCode": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "orderStatus": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sourceStatus": {
            "type": "string"
          },
          "closedAt": {
            "type": "string"
          },
          "dueAt": {
            "type": "string"
          },
          "guestCount": {
            "type": "number"
          },
          "seatCount": {
            "type": "number"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "orderTypeId": {
            "type": "string"
          },
          "orderTypeName": {
            "type": "string"
          },
          "revenueCenterId": {
            "type": "string"
          },
          "revenueCenterName": {
            "type": "string"
          },
          "areaId": {
            "type": "string"
          },
          "areaName": {
            "type": "string"
          },
          "tableId": {
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "accountableEmployeeId": {
            "type": "string"
          },
          "accountableEmployeeName": {
            "type": "string"
          },
          "accountableTimeCardId": {
            "type": "string"
          },
          "ownerEmployeeId": {
            "type": "string"
          },
          "ownerEmployeeName": {
            "type": "string"
          },
          "accountabilitySource": {
            "type": "string"
          },
          "totals": {
            "type": "object",
            "description": "Stored check totals."
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "taxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "fees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "gratuities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "refunds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "voids": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "salesCategories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "paidIns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "paidOuts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          },
          "giftCards": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckSummaryDetail"
            }
          }
        },
        "required": [
          "id",
          "businessDate",
          "checkId"
        ]
      }
    }
  },
  "paths": {
    "/checksummaries": {
      "get": {
        "summary": "List closed-check summaries for a business-date window",
        "description": "Requires scope `checksummaries:read`. The reporting projection of a check, pre-bucketed into items, payments, taxes, discounts, fees, gratuities, voids, refunds and sales categories. Supply exactly one of `businessDate`, `businessDates`, or `businessDateStart`+`businessDateEnd`; a window is required and may span at most 7 days (query day by day for longer spans).",
        "parameters": [
          {
            "name": "businessDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "A single business date, YYYY-MM-DD."
          },
          {
            "name": "businessDates",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated business dates, e.g. 2026-09-01,2026-09-03. Need not be contiguous."
          },
          {
            "name": "businessDateStart",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Inclusive start of a business-date range. Must be sent with businessDateEnd. Max 7 days."
          },
          {
            "name": "businessDateEnd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Inclusive end of a business-date range. Must be sent with businessDateStart. Max 7 days."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "maximum": 500
            },
            "description": "Page size (default 100, max 500)."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Opaque pagination cursor from a prior response's meta.cursor."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CheckSummary"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 150,
      "2": 23,
      "3": 41,
      "4": 164,
      "5": 38,
      "6": 175,
      "7": 92,
      "8": 201,
      "9": 202,
      "10": 43,
      "11": 17
    }
  }
}
```