fastbill_list_customers
List customers
List customers (name, address, e-mail, VAT id, payment terms and bank details as stored in FastBill). Filter by search term (organization, name, address, zip, e-mail or tags), customer number, country or city. customer.get.
输入参数citytermlimitoffsetcountry_codecustomer_number
fastbill_get_customer
Get customer
One customer by FastBill customer id. customer.get with CUSTOMER_ID.
输入参数customer_id必填
fastbill_list_contacts
List contacts
List contact persons of customers (name, position, e-mail, phone). Filter by customer, search term or contact id. contact.get.
输入参数termlimitoffsetcontact_idcustomer_idcustomer_number
fastbill_list_invoices
List invoices
List outgoing invoices, drafts and credit notes with totals, state (draft, unpaid, overdue, paid, canceled), dates and line items. Filter by customer, number, type, date ranges (invoice date, due date, paid date, last update). invoice.get.
输入参数typelimitoffsetend_datestart_datecustomer_idend_due_dateend_paid_dateend_lastupdateinvoice_numberstart_due_datestart_paid_date另有 1 个
fastbill_get_invoice
Get invoice
One invoice by FastBill invoice id, with all line items, VAT, payments and the document URL. invoice.get with INVOICE_ID.
输入参数invoice_id必填
fastbill_list_recurring_invoices
List recurring invoices
List recurring invoice templates (customer, interval data, totals, items). recurring.get.
输入参数limitoffsetinvoice_id
fastbill_list_estimates
List estimates
List estimates (quotes) with state (a created, b sent, c negotiation, d accepted, e rejected, f invoiced), totals and items. estimate.get.
输入参数limitoffsetend_datestart_datecustomer_idestimate_idestimate_number
fastbill_list_expenses
List expenses
List expense entries (supplier, category, net/VAT/gross, dates, document URL). Filter by invoice number or date ranges. expense.get.
输入参数limitoffsetend_dateinvoice_idstart_dateend_paid_dateinvoice_numberstart_paid_date
fastbill_list_revenues
List revenues
List revenue entries (income booked in FastBill: customer, totals, dates, payments). Takes the same filters as invoices. revenue.get.
输入参数limitoffsetend_datestart_datecustomer_idend_paid_dateinvoice_numberstart_paid_date
fastbill_list_articles
List products
List products and services (article number, type, title, unit price, VAT, unit). article.get.
输入参数limitoffsetarticle_idarticle_number
fastbill_list_projects
List projects
List projects (name, customer, hourly rate, VAT, start/end date). project.get.
输入参数limitoffsetproject_idcustomer_id
fastbill_list_time_entries
List time entries
List work time entries (customer, project, date, minutes, billable minutes, comment, invoice). Without filters FastBill returns the latest entries of the current month. time.get.
输入参数datelimitoffsettime_idend_dateproject_idstart_datecustomer_id
fastbill_list_templates
List document templates
List the invoice/estimate templates (template id, name, hash). Use a template id with the create tools. Ids change whenever a template is edited. template.get.
输入参数limitoffset
fastbill_create_customer
Create customer
WRITE: create a customer. customer_type is required; a business needs organization, a consumer needs last_name. Bank details are not accepted by this tool. FastBill does not check for duplicates, so search with fastbill_list_customers first. customer.create.
输入参数citytagsemailphonemobilevat_idaddresswebsitezipcodepositionaddress_2last_name另有 10 个
fastbill_update_customer
Update customer
WRITE: update fields of an existing customer; only the fields you pass change. Bank details are not accepted by this tool. customer.update.
输入参数citytagsemailphonemobilevat_idaddresswebsitezipcodepositionaddress_2last_name另有 11 个
fastbill_create_invoice
Create invoice
WRITE: create an invoice for a customer from line items. FastBill stores it as a draft; it gets its number and becomes final only with fastbill_complete_invoice, and it is never sent by this tool. Check the result with fastbill_get_invoice. invoice.create.
输入参数items必填is_grossvat_caseintrotextcustomer_id必填template_idinvoice_datecurrency_codedelivery_dateinvoice_titlediscount_percentcash_discount_days另有 5 个
fastbill_complete_invoice
Finalize invoice
WRITE, NOT REVERSIBLE: turn a draft invoice into a final invoice. FastBill assigns the invoice number and PDF; a final invoice can no longer be edited (it can only be canceled in FastBill). Nothing is sent to the customer. Only call this after the user confirmed the draft. invoice.complete.
输入参数invoice_id必填
fastbill_set_invoice_paid
Mark invoice paid
WRITE: mark a final invoice as paid, with the payment date and method. invoice.setpaid.
输入参数paid_dateinvoice_id必填payment_method
fastbill_create_estimate
Create estimate
WRITE: create an estimate (quote) for a customer from line items. It is not sent. estimate.create.
输入参数items必填is_grossintrotextcustomer_id必填template_idcurrency_codeestimate_datediscount_percent
fastbill_create_article
Create product
WRITE: create a product or service (article number, title and unit price are required). article.create.
输入参数tagstypeunittitle必填is_grossunit_price必填descriptionvat_percentcurrency_codearticle_number必填
fastbill_create_project
Create project
WRITE: create a project for a customer (name and customer are required). project.create.
输入参数end_datehour_pricestart_datecustomer_id必填vat_percentproject_name必填currency_code
fastbill_create_time_entry
Create time entry
WRITE: book a work time entry on a project (customer, project and start time are required). time.create.
输入参数datecommentminutesend_timearticle_idproject_id必填start_time必填customer_id必填billable_minutes