Dokumenty - Faktury

Dodaje pozycję do faktury

Tworzenie nowej pozycji na fakturze

post/invoices_lines

Request body

cart_idinteger

Identyfikator koszyka w zamówieniu Sellasist

discountinteger

Rabat

invoice_idinteger

Identyfikator faktury

namestring

Nazwa pozycji

price_grossnumber

Cena jednostkowa brutto

price_netnumber

Cena jednostkowa netto

product_idinteger

Identyfikator produktu w Sellasist

quantityinteger

Ilość sztuk

vatinteger

Stawka VAT

Example request

{
  "cart_id": 55,
  "discount": 15,
  "invoice_id": 1,
  "name": "Szafka",
  "price_gross": 12.3,
  "price_net": 10,
  "product_id": 123,
  "quantity": 3,
  "vat": 23
}

Response

Sukces

idinteger

Example response

{
  "id": 20
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.