sevdesk_get_bookkeeping_system_version
Get the bookkeeping system version
Return whether the account runs sevdesk bookkeeping 1.0 or 2.0 (2.0 uses taxRule instead of taxType on invoices). Also a cheap way to confirm the API token works. sevdesk: GET /Tools/bookkeepingSystemVersion.
Takes no parameters.
sevdesk_list_contacts
List contacts
List contacts (customers, suppliers, partners, prospects). By default sevdesk returns only organisations; set include_persons to also get individual persons. sevdesk: GET /Contact.
Parameterszipcitynameembedlimitoffsetcount_allparent_idcategory_idcustomer_numberinclude_persons
sevdesk_get_contact
Get one contact
Fetch a single contact by id. sevdesk: GET /Contact/{contactId}.
Parametersembedcontact_idrequired
sevdesk_list_communication_ways
List contact emails, phones and websites
List communication ways (email addresses, phone and mobile numbers, websites), optionally for one contact. sevdesk: GET /CommunicationWay.
Parameterstypeembedlimitoffsetcount_allmain_onlycontact_id
sevdesk_list_communication_way_keys
List communication way keys
List the labels a communication way can carry (1 Privat, 2 Arbeit, 3 Fax, 4 Mobil, 6 Autobox, 7 Newsletter, 8 Rechnungsadresse). Needed for sevdesk_add_communication_way. sevdesk: GET /CommunicationWayKey.
Takes no parameters.
sevdesk_list_invoices
List invoices
List invoices, filterable by status, number, date range and contact. Status: 50 deactivated recurring, 100 draft, 200 open/due, 750 partially paid, 1000 paid. sevdesk: GET /Invoice.
Parametersembedlimitoffsetstatusend_datecount_allcontact_iddelinquentstart_dateinvoice_typeinvoice_number
sevdesk_get_invoice
Get one invoice
Fetch a single invoice by id — totals, status, dates, contact and contact person. sevdesk: GET /Invoice/{invoiceId}.
Parametersembedinvoice_idrequired
sevdesk_get_invoice_positions
Get an invoice's line items
List the positions (line items) of one invoice: name, quantity, price, tax rate, sums. sevdesk: GET /Invoice/{invoiceId}/getPositions.
Parametersembedlimitoffsetinvoice_idrequired
sevdesk_list_vouchers
List vouchers (receipts)
List vouchers — receipts and incoming/outgoing bills. Status: 50 draft, 100 unpaid/due, 1000 paid. credit_debit C = credit (revenue), D = debit (expense). sevdesk: GET /Voucher.
Parametersembedlimitoffsetstatusend_datecount_allcontact_idstart_datecredit_debitdescription_like
sevdesk_get_voucher
Get one voucher
Fetch a single voucher (receipt) by id. sevdesk: GET /Voucher/{voucherId}.
Parametersembedvoucher_idrequired
sevdesk_list_credit_notes
List credit notes
List credit notes (Gutschriften), filterable by status, number, date range and contact. Status: 100 draft, 200 open/delivered, 750 partially paid, 1000 paid. sevdesk: GET /CreditNote.
Parametersembedlimitoffsetstatusend_datecount_allcontact_idstart_datecredit_note_number
sevdesk_list_orders
List orders and quotes
List orders — quotes (Angebote), order confirmations and delivery notes — filterable by status, number, date range and contact. Status: 100 draft, 200 delivered, 300 rejected, 500 accepted, 750 partially calculated, 1000 calculated. sevdesk: GET /Order.
Parametersembedlimitoffsetstatusend_datecount_allcontact_idstart_dateorder_number
sevdesk_list_parts
List parts (products)
List parts — the products and services in the sevdesk inventory, with prices, tax rate and stock. sevdesk: GET /Part.
Parametersnameembedlimitoffsetcount_allpart_number
sevdesk_list_check_accounts
List payment accounts
List check accounts — the bank accounts, cash registers and clearing accounts sevdesk tracks payments on, with IBAN, type and sync status. sevdesk: GET /CheckAccount.
Parametersembedlimitoffsetcount_all
sevdesk_get_check_account_balance
Get a payment account's balance at a date
Balance of one check account as the sum of every transaction sevdesk knows up to and including the given date. May differ from the real bank balance if older transactions were never imported. sevdesk: GET /CheckAccount/{checkAccountId}/getBalanceAtDate.
Parametersdaterequiredcheck_account_idrequired
sevdesk_list_transactions
List bank transactions
List check-account transactions (bank payments in and out), filterable by account, booking state, date range, payee/payer and purpose. sevdesk: GET /CheckAccountTransaction.
Parametersembedlimitoffsetend_datecount_allis_bookedonly_debitstart_dateonly_creditpayment_purposecheck_account_idpayee_payer_name
sevdesk_create_contact
Create a contact
Create a contact. Give `name` for an organisation, or `surename`/`familyname` for a person. Addresses and emails are separate (use sevdesk_add_communication_way). sevdesk: POST /Contact.
Parametersnamestatussurenameparent_idfamilynametax_numbervat_numbercategory_idrequireddescriptioncustomer_numberdefault_time_to_pay
sevdesk_update_contact
Update a contact
Update fields on an existing contact; only the fields you pass are sent. sevdesk: PUT /Contact/{contactId}.
Parametersnamestatussurenameparent_idcontact_idrequiredfamilynametax_numbervat_numbercategory_iddescriptioncustomer_numberdefault_time_to_pay
sevdesk_add_communication_way
Add an email, phone or website to a contact
Attach an email address, phone/mobile number or website to a contact. key_id labels it (2 Arbeit/work is a good default; see sevdesk_list_communication_way_keys). sevdesk: POST /CommunicationWay.
Parametersmaintyperequiredvaluerequiredkey_idcontact_idrequired
sevdesk_create_draft_invoice
Create a draft invoice
Create a normal invoice (type RE) with its line items, ALWAYS saved as a DRAFT (status 100): it is not sent, not booked and stays editable in sevdesk. contact_person_id is the sevdesk USER responsible for it — copy contactPerson.id from any existing invoice (sevdesk_get_invoice). Bookkeeping 2.0 accounts use tax_rule_id (1 = taxable sales in Germany, the usual choice); 1.0 accounts pass tax_type instead (check sevdesk_get_bookkeeping_system_version). sevdesk: POST /Invoice/Factory/saveInvoice.
Parametersheaderaddresscurrencyshow_nettax_texttax_typefoot_texthead_textpositionsrequiredcontact_idrequiredtax_rule_idtime_to_pay+6 more