Free online invoicing software
Log in
Create an account
To renew your account, make a payment.
If you experience payment problems, contact us.

Afaktury.pl API

On this page, you can access the API for the section Produkt

Product Produkt Pola Nazwa czy jest obowiązkowy typ klucz obcy min. wartość/długość max. wartość/długość opis id NO Int NO 1 2147483647 ID name YES String NO 1 511 Nazwa produktu body NO String NO 0 65535 Opis bodyShort NO String NO 0 255 Skrócony opis icon NO photo YES - - Grafika productNumber NO String NO 0 31 Numer produktu ean NO String NO 0 31 Numer EAN pkwiu NO String NO 0 15 Numer PKWiU priceNettoBuy YES Float NO 0 2147483647 Cena zakupu netto priceBruttoBuy YES Float NO 0 2147483647 Cena zakupu brutto priceNettoSell YES Float NO 0 2147483647 Cena sprzedaży netto priceBruttoSell YES Float NO 0 2147483647 Cena sprzedaży brutto priceIsValid NO Bool NO - - Sprawdzaj cenę sprzedaży rebate NO Float NO 0 2147483647 Wysokość rabatu margin NO Float NO 0 2147483647 Mraża count NO Float NO 0 2147483647 Ilość na stanie countIsValid NO Bool NO - - Sprawdzaj ilość na stanie weight NO Float NO 0 2147483647 Waga isCountable NO Bool NO - - Produkt policzalny isRemoveState NO Bool NO - - Usuwaj ze stanu JPKColumn NO Int NO 0 39 Kolumna JPK producer YES producer YES - - Producent category YES cat YES - - Kategoria vat YES vat YES - - Stawka VAT unit YES unit YES - - Jednostka currency YES currency YES - - Waluta Nagłówki
afakturyToken=1234567890123456789012345678901234567890
afakturyId=12345678901;afakturyKey=12346567890abcdef
Akcje Pobranie obiektu Metoda: GET URL: https://faktura/api/product Przykładowe dane: { "id": 1 } Dodanie obiektu Metoda: POST URL: https://faktura/api/product Przykładowe dane: { "name": "product name", "body": "product body", "productNumber": "123456879", "ean": "123456879", "pkwiu": "123456879", "priceNettoBuy": 100, "priceBruttoBuy": 123, "priceNettoSell": 200, "priceBruttoSell": 246, "priceIsValid": 1, "rebate": 0, "margin": 100, "count": 1000, "countIsValid": 1, "weight": 10, "isCountable": 1, "isRemoveState": 1, "JPKColumn": 1, "producer": { "id": 1 }, "category": { "id": 1 }, "vat": { "id": 1 }, "unit": { "id": 1 }, "currency": { "id": 1 } } Aktualizacja obiektu Metoda: PUT URL: https://faktura/api/product Przykładowe dane: { "id": 1, "name": "product name", "body": "product body", "productNumber": "123456879", "ean": "123456879", "pkwiu": "123456879", "priceNettoBuy": 100, "priceBruttoBuy": 123, "priceNettoSell": 200, "priceBruttoSell": 246, "priceIsValid": 1, "rebate": 0, "margin": 100, "count": 1000, "countIsValid": 1, "weight": 10, "isCountable": 1, "isRemoveState": 1, "JPKColumn": 1, "producer": { "id": 1 }, "category": { "id": 1 }, "vat": { "id": 1 }, "unit": { "id": 1 }, "currency": { "id": 1 } } Usunięcie obiektu Metoda: DELETE URL: https://faktura/api/product Przykładowe dane: { "id": 1 } Pobranie listy obiektów Metoda: GET URL: https://faktura/api/product/list Przykładowe dane: { "page": 1, "count": 25, "sortItem": 0, "sortDir": "a", "letter": "a", "phrase": "phrase", "category": 1, "producer": 1, "priceMin": 100, "priceMax": 1000, "rebateMin": 5, "rebateMax": 10 } page: page number count: records per page sortItem: sort by item sortDir: sort order, possible values: a - order ascending, d - order descending letter: first letter phrase: searching phrase category: categori ID producer: producer ID priceMin: minimum price value priceMax: maximum price value rebateMin: minimum rabate value rebateMax: maximum rabate value

Please wait...
January|February|March|April|May|June|July|August|September|October|November|December
Mon|Tue|Wed|Thu|Fri|Sat|Sun
Remove date
SEND FEEDBACK
Internal service error, code E01. Please contact technical support.
The most common cause of this error is a lost internet connection. Refresh the current webpage.
If the problem persists, contact us.
The action was completed successfully.
You are not the owner of this item.
Invalid data: incorrect Tax ID or account number
You do not have permission to perform this action.
This field cannot be empty.
No results.
The verification code is incorrect
Internal service error, code E04. Please contact technical support.
The form could not be sent. Check that all required fields have been completed
q0cdEL59UmJE/Vuk4vP8d7t2WGeZSXbvtb8Loo7gYd2j9XS/alNdJMwXm6AdqBVe
The account is awaiting two-factor authentication confirmation