Dokumenty - Faktury korygujące

Tworzy fakturę korygującą

Tworzenie nowej faktury

post/corrects

Request body

bdo_numberstring

Numer BDO

currencystring

Waluta w formacie ISO 3

invoice_idinteger

Identyfikator korygowanej faktury

issue_datestring

Data wystawienia faktury korygującej

numberstring

Numer faktury korygującej

order_idinteger

Identyfikator zamówienia w Sellasist

package_numberstring

Numer listu przewozowego

payment_methodstring

Forma płatności

sale_datestring

Data sprzedaży

totalnumber

Wartość faktury

Example request

{
  "bdo_number": "09175912365",
  "buyer": {
    "address": "ul. Testowa 14",
    "city": "Warszawa",
    "country": "PL",
    "email": "test@sellasist.pl",
    "name": "Jan Testowy",
    "nip": "822-19-90-318",
    "phone": "123456789",
    "postcode": "05-075"
  },
  "currency": "PLN",
  "invoice_id": 123,
  "issue_date": "2026-07-20",
  "lines": [
    {
      "discount": 15,
      "name": "Szafka",
      "price_gross": 12.3,
      "price_net": 10,
      "quantity": 3,
      "vat": 23
    }
  ],
  "number": "KO/1/1",
  "order_id": 123,
  "package_number": "A201297929",
  "payment_method": "Przelew",
  "sale_date": "2026-07-20",
  "seller": {
    "address": "ul. Testowa 14",
    "bank_name": "Alior",
    "bank_number": "0000 0000 0000 0000 0000 0000",
    "city": "Warszawa",
    "country": "PL",
    "name": "Jan Testowy",
    "nip": "822-19-90-318",
    "postcode": "05-075"
  },
  "total": 39.99
}

Response

Sukces

idinteger

Example response

{
  "id": 20
}

Changes

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