---
title: "Dodaje pozycję do paragonu"
method: POST
path: "/receipts_lines"
tags: ["Dokumenty - Paragony"]
---

# Dodaje pozycję do paragonu

`POST /receipts_lines`

Tworzenie nowej pozycji na paragonie

## Request body

- ReceiptLineRequest — Struktura pozycji na paragonie
  - `cart_id` integer — Identyfikator koszyka w zamówieniu Sellasist
  - `discount` integer — Rabat
  - `name` string — Nazwa pozycji
  - `price_gross` number — Cena jednostkowa brutto
  - `price_net` number — Cena jednostkowa netto
  - `product_id` integer — Identyfikator produktu w Sellasist
  - `quantity` integer — Ilość sztuk
  - `receipt_id` integer — Identyfikator paragonu
  - `vat` integer — Stawka VAT

## Response `200`

Sukces

- object
  - `id` integer

## Other responses

- `401` — Błąd autoryzacji

---

[API](https://skmtc.dev/sellasist/apis/sellasist-api.md) · [All operations](https://skmtc.dev/sellasist/apis/sellasist-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellasist/sellasist-api/revisions/821a1ff699fb/schema)
