---
title: "Add qr code data to a document"
method: POST
path: "/api/v1/posQrCode/actions/add"
tags: ["Point Of Sale"]
---

# Add qr code data to a document

`POST /api/v1/posQrCode/actions/add`

Add qr code data to a document.

## Request body

- object
  - `documentNumber` string, required
  - `eventType` string, required
  - `timeSignature` string, date-time — a atom formatted date time
  - `cashRegisterSerialNumber` string
  - `externalReceiptNumber` string
  - `qrCodeData` string, required

## Response `204`

Operation completed successfully, no response body

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `406` — Requested resource representation does not exist.
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
