Facebook
From Idiotic Cockroach, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 270
  1. curl -H "X-inFakt-ApiKey: XXX_APIKEY_XXX" \
  2.   -H "Content-Type: application/json" \
  3.   -X POST \
  4.   -d '{"invoice": {"currency": "PLN", "paid_price": "1330", "kind": "vat", "payment_method": "transfer", "notes": "Zamówienie #930", "client_company_name": "firma najlepsza", "client_street": "Kaiserebersorferstr 79/10/2", "client_city": "Wieden", "client_post_code": "11-101", "client_country": "AT", "recipient_signature": "Piotr Ostrowski", "seller_signature": "ja", "invoice_date": "2018-06-25", "sale_date": "2018-06-25", "invoice_date_kind": "sale_date", "payment_date": "2018-06-25", "check_duplicate_number": false, "services": [{"name": "klasa A", "unit": "szt", "quantity": "1", "tax_symbol": "23", "gross_price": "100"}, {"name": "Płaska Stawka", "unit": "szt", "quantity": "1", "net_price": "1000", "tax_symbol": "23"}], "bank_name": "BRE Bank", "bank_account": "13 1140 1179 3195 0532 6725 8505", "swift": "", "sale_type": "service"}}' \
  5.   https://api.infakt.pl/v3/invoices.json