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.
無需輸入參數。
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.
輸入參數zipcitynameembedlimitoffsetcount_allparent_idcategory_idcustomer_numberinclude_persons
sevdesk_get_contact
Get one contact
Fetch a single contact by id. sevdesk: GET /Contact/{contactId}.
輸入參數embedcontact_id必填
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.
輸入參數typeembedlimitoffsetcount_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.
無需輸入參數。
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.
輸入參數embedlimitoffsetstatusend_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}.
輸入參數embedinvoice_id必填
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.
輸入參數embedlimitoffsetinvoice_id必填
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.
輸入參數embedlimitoffsetstatusend_datecount_allcontact_idstart_datecredit_debitdescription_like
sevdesk_get_voucher
Get one voucher
Fetch a single voucher (receipt) by id. sevdesk: GET /Voucher/{voucherId}.
輸入參數embedvoucher_id必填
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.
輸入參數embedlimitoffsetstatusend_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.
輸入參數embedlimitoffsetstatusend_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.
輸入參數nameembedlimitoffsetcount_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.
輸入參數embedlimitoffsetcount_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.
輸入參數date必填check_account_id必填
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.
輸入參數embedlimitoffsetend_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.
輸入參數namestatussurenameparent_idfamilynametax_numbervat_numbercategory_id必填descriptioncustomer_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}.
輸入參數namestatussurenameparent_idcontact_id必填familynametax_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.
輸入參數maintype必填value必填key_idcontact_id必填
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.
輸入參數headeraddresscurrencyshow_nettax_texttax_typefoot_texthead_textpositions必填contact_id必填tax_rule_idtime_to_pay另有 6 個