QuoteBill API: create invoices from Make, Zapier, n8n and Notion workflows

Create QuoteBill invoices and quotations from a spreadsheet, Make, Zapier, n8n or a script, and work out totals by country: OpenAPI file, curl examples, limits.

The QuoteBill API lets Make, Zapier, n8n, a Notion-based workflow or your own script create a quotation, invoice or other document in your QuoteBill account. A new row in a spreadsheet becomes a draft you open in the editor, check, and send.

It is a small API on purpose: it creates documents, reads your own, and works out a document's totals the way QuoteBill does, per country and currency. It cannot send anything, sign anything or change your account. It is for QuoteBill members; you make and revoke keys in Settings.

Not sure the API is the right way in? See the four ways in.

Before you start

  1. Sign in to QuoteBill and confirm your e-mail address, if you have not yet.
  2. Open Company settings, find API keys, give the key a name (for example "Make: Google Sheets"), choose how long it is valid (30, 90 or 365 days) and press Create key.
  3. Copy the key from the window that opens. It is shown once and QuoteBill does not keep it, so a lost key is replaced, not recovered.
  4. Put it in the credential store of the tool that will use it, and send a request to /v1/ping to check that it works.

Every address below starts with https://quotebill.com/functions/v1/api.

Check the key
curl https://quotebill.com/functions/v1/api/v1/ping \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY"

{"ok":true}

Authentication

Send the key in the Authorization header of every request: Authorization: Bearer qbk_ followed by 32 letters and digits. It is accepted nowhere else: the API never reads a key from a web address or from a body, and an address that carries a key should be treated as leaked.

  • A key belongs to the member who made it and can only reach that member's documents.
  • A key has two scopes: documents:create (make documents) and documents:read (list and read them). Both are given to every new key.
  • A key expires after the 30, 90 or 365 days you chose, and you can revoke it at any time; it stops working on the very next request.
  • You can have five active keys at a time, so each workflow can have its own.
  • A key that is missing, wrong, revoked or expired gets the same answer: 401 invalid_api_key.

The API sends no CORS headers: a web page cannot call it from a visitor's browser, which is what keeps a key out of web pages. Call it from a server, a script or an automation tool.

The endpoints

EndpointWhat it doesScope
GET /v1/pingChecks that the key works. Answers {"ok":true}.any key
GET /v1/templatesLists the kinds of document and the templates you can ask for.any key
POST /v1/documentsMakes a document: a draft saved in your cloud.documents:create
GET /v1/documentsLists your documents, newest first: kind, status, number, customer and dates only.documents:read
GET /v1/documents/{id}Reads one of your documents: customer, items, notes and totals.documents:read
POST /v1/calculateWorks out the lines, discounts, tax and total a document would show, and saves nothing.any key
GET /v1/countriesLists the countries with their currency, its decimals and the published tax rate.any key

Every answer is JSON, is never cached, and has no CORS headers. Send a body only to POST /v1/documents and POST /v1/calculate, as JSON with Content-Type: application/json, at most 256 KB.

Make a document: POST /v1/documents

The document is made the way the editor makes one, with your company details as the sender, and saved as a draft in your cloud. It counts against your cloud document limit exactly as a document you save yourself does. Open editor_url to check and send it.

Request
curl -X POST https://quotebill.com/functions/v1/api/v1/documents \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: sheet-row-17" \
  -d '{"kind":"invoice","country":"KR","issue_date":"2026-10-04","due_date":"2026-11-03","customer":{"name":"Acme Ltd","email":"billing@acme.example","address":"12 Harbour Road, Rotterdam","tax_id":"NL123456789B01"},"items":[{"description":"Website design","quantity":1,"unit_price":1500000},{"description":"Hosting (12 months)","quantity":12,"unit_price":10000}],"notes":"Thank you for your business."}'
Answer (201 Created)
{
  "id": "doc-7c0b8a4e-3f1d-4a52-9d6e-0b2f5c1e8a77",
  "editor_url": "https://quotebill.com/en/editor/doc-7c0b8a4e-3f1d-4a52-9d6e-0b2f5c1e8a77",
  "number": "INVOICE-20261004-1-9F3A1C",
  "totals": {
    "currency": "KRW",
    "subtotal": 1620000,
    "tax_name": "VAT",
    "tax_rate": 10,
    "tax_amount": 162000,
    "total": 1782000,
    "tax_status": "calculated"
  }
}

The fields of the request. Only kind, customer.name and items are required; leave out what you do not need, or send it empty (an empty cell of a sheet counts as left out).

FieldMeaning
kindquotation, invoice, proforma, receipt, creditNote, purchaseOrder, deliveryNote, workOrder or commercialInvoice. A statement of account is not made through the API.
templateA template slug from GET /v1/templates, of the same kind. It chooses the layout, the line columns and the printed title; a template made for one country also starts in that country and language, and the ones made for someone not registered for VAT or GST at 0%, as in the editor.
languageThe language the document is written in: one of the 33 QuoteBill is written in, such as en, ko, ja or de. Default: your company setting, else en.
countryTwo capital letters, such as KR or US. The tax follows the country. Default: the country of a template made for one, else your company setting, else US.
regionFor Canada only, with "country": "CA": a province or territory such as BC or ON, whose GST, HST, PST or QST then apply, each rounded on its own. GET /v1/countries lists them.
currencyThree capital letters, such as USD or KRW. Default: your company setting, else the country's own currency. Amounts are rounded to the currency's decimals.
issue_dateYYYY-MM-DD. Default: today (UTC).
due_dateYYYY-MM-DD, for an invoice or commercial invoice. Default: 30 days after the issue date.
valid_untilYYYY-MM-DD, for a quotation or proforma invoice. Default: 30 days after the issue date.
document_numberUp to 100 characters. Default: a number made as your numbering setting says, automatic or in sequence. A number another of your cloud documents already has is refused (409 document_number_taken).
tax_rateA percentage from 0 to 100 for the whole document. Default: the kind's own (0 for a commercial invoice), else the template's own, else the rate saved in your company settings when the document is for your own country, else the country's standard rate.
customerAn object: name (required, up to 200 characters), email, address (up to 500) and tax_id (up to 60).
itemsOne to 200 objects: description (required, up to 500 characters), quantity (a number above 0), unit_price (a number from 0, before tax) and, optionally, tax_rate and discount. A QuoteBill document has one tax rate, so an item's tax_rate must equal the document's and every other item's. A discount is {"type": "percent", "value": 0 to 100} or {"type": "amount", "value": up to quantity x unit_price}, taken off the line before tax.
notesUp to 2,000 characters, printed on the document.

Numbers must be JSON numbers (10, 9.99), not text ("10"). Texts must be one line, except notes and address. A field the API does not know is refused, so a typo is found at once rather than ignored.

The answer has the document's id, the address that opens it in the editor, its number and its totals. totals is null for a document whose lines carry no prices (a delivery note of quantities). Where a country has no single national rate (the United States is one), totals says tax_status "rate_needed" and gives no tax or total until you send tax_rate; the editor asks for the rate in the same way.

Add an Idempotency-Key header (1 to 255 letters, digits, dots, dashes, underscores or colons) and a retry of the same request within 24 hours returns the same document with status 200 instead of making another. Use something that identifies the source, such as the id of the row. The same key with a different request is refused (409 idempotency_key_reused).

List and read: GET /v1/documents

Lists your own documents, whoever made them, newest first. Parameters: kind, status (for example draft, sent, paid), limit (1 to 100, default 25) and cursor. When there are more, the answer has a next_cursor; send it back as cursor to get the next page.

List the 10 newest invoices
curl "https://quotebill.com/functions/v1/api/v1/documents?kind=invoice&limit=10" \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY"
Read one
curl https://quotebill.com/functions/v1/api/v1/documents/doc-7c0b8a4e-3f1d-4a52-9d6e-0b2f5c1e8a77 \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY"

A document that is not yours, or does not exist, is a 404 not_found, the same for both. Reading one returns the customer, the items, the notes and the totals; the sender's details, logo and stamp are not part of it. There is no way to change or delete a document through the API: do that in the editor.

Work out totals: POST /v1/calculate

Send the body you would send to POST /v1/documents and get back the figures that document would show: each line before and after its discount, the subtotal, the tax (each component on its own, as for a Canadian province with GST and PST) and the total, rounded to the currency as QuoteBill rounds them. Nothing is saved. Accounting and ERP software can use it to show QuoteBill's figures before a document exists, or to check its own.

Request
curl -X POST https://quotebill.com/functions/v1/api/v1/calculate \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country":"DE","currency":"EUR","items":[{"description":"Design work","quantity":3,"unit_price":33.33,"discount":{"type":"percent","value":10}},{"description":"Printing","quantity":0.5,"unit_price":19.99}]}'
Answer (200 OK), the figures
{
  "currency": "EUR",
  "currency_decimals": 2,
  "lines": [
    {
      "quantity": 3,
      "unit_price": 33.33,
      "discount": {
        "type": "percent",
        "value": 10
      },
      "gross": 99.99,
      "discount_amount": 10,
      "amount": 89.99
    },
    {
      "quantity": 0.5,
      "unit_price": 19.99,
      "discount": null,
      "gross": 10,
      "discount_amount": 0,
      "amount": 10
    }
  ],
  "subtotal_before_discounts": 109.99,
  "discount_total": 10,
  "totals": {
    "currency": "EUR",
    "subtotal": 99.99,
    "tax_name": "VAT",
    "tax_rate": 19,
    "tax_amount": 19,
    "total": 118.99,
    "tax_status": "calculated"
  }
}
  • The totals are the totals POST /v1/documents answers with for the same body, made by the same code; tests hold the two together, and both to the figures the editor shows.
  • kind (default: the template's kind, else invoice), customer and the items' descriptions may be left out; everything else is read and checked as for a document. A field the API does not know is refused.
  • items may carry a discount, {"type": "percent", "value": 10} or {"type": "amount", "value": 5}, taken off the line before tax. POST /v1/documents takes it too.
  • For Canada, region names a province or territory (with "country": "CA"), and its GST, HST, PST or QST are applied, each rounded on its own.
  • Prices are before tax: the tax is added to the subtotal. QuoteBill documents have no tax-inclusive prices, so neither does this endpoint.
  • What the request leaves out comes from your company settings, as for a document; the answer's defaults and tax.rate_from say where the country, the currency and the rate came from. Send country, currency and tax_rate for an answer that does not depend on the account.
  • The answer also has tax.status, tax.review_reasons and tax.source: the published rate, where it was read and when, to confirm, not tax advice. A country with no single national rate, such as the United States, answers tax_status "rate_needed" until you send tax_rate.
  • Any key may calculate, whatever its scopes; each request counts against the key's limits like any other. A kind whose lines are quantities only, such as a delivery note, has nothing to calculate (422).

Countries and tax rates: GET /v1/countries

Every country a document may name, with the currency its money is written in, how many decimals that currency is rounded to, and the tax name and standard rate QuoteBill applies when you send no tax_rate. Canada also lists its provinces and territories, for region. The figures come from the catalogue the site publishes and the calculators read, with its source and the day it was checked.

Request
curl https://quotebill.com/functions/v1/api/v1/countries \
  -H "Authorization: Bearer $QUOTEBILL_API_KEY"
One country of the answer, its figures
{
  "code": "DE",
  "currency": "EUR",
  "currency_decimals": 2,
  "tax_name": "VAT",
  "standard_rate": 19,
  "e_invoicing": "XRechnung or ZUGFeRD"
}

standard_rate is a percentage, or null where there is no single national rate. A published rate is a starting point to confirm for your own case. The answer has no number or date formats: QuoteBill does not publish them through the API. Any key; it counts against the key's limits.

Google Sheets row to invoice, in Make, Zapier and n8n

The recipe is the same in every tool: when a row is added to a sheet, send one HTTP request to POST /v1/documents. Only the generic request features of each tool are used. Steps and menu names in those products may change; follow the product's own help for where a setting lives.

  1. Make one row per invoice, with columns such as Customer, Customer e-mail, Item, Quantity, Unit price and an id you can use as the Idempotency-Key.
  2. Trigger: a new row in the sheet.
  3. Action: an HTTP request, as below.
  4. Keep the answer's editor_url wherever you keep the results, for example in the same row.
The body, with the row's cells mapped in
{
  "kind": "invoice",
  "customer": { "name": "<Customer>", "email": "<Customer e-mail>" },
  "items": [ { "description": "<Item>", "quantity": <Quantity>, "unit_price": <Unit price> } ]
}

Quantity and Unit price go in without quotation marks, and must reach the request as numbers: convert a cell that arrives as text with the tool's number conversion first. Several rows for one invoice can be gathered into one items list by your tool, or sent as one invoice per row.

  • Make: the HTTP module's "Make a request". URL: the address of POST /v1/documents. Method: POST. Headers: Authorization with the value Bearer and your key, and Content-Type application/json. Body type: Raw, content type JSON, request content: the body above.
  • Zapier: "Webhooks by Zapier", the Custom Request action. Method: POST. URL: the same. Data: the body above. Headers: Authorization (Bearer and your key) and Content-Type (application/json), and Idempotency-Key with the row's id.
  • n8n: the HTTP Request node. Method: POST. URL: the same. Authentication: a Header Auth credential named Authorization with the value Bearer and your key, so the key lives in n8n's credentials and not in the workflow. Send Body on, body content type JSON, body as above.

A key pasted into a header like this sits in plain sight: the header value of a scenario or a Zap is visible to everyone who can edit or share it, and it can end up in exports and in run history. Use a key made for that one workflow, never share or export a scenario or Zap that holds a key, and where the tool has its own connection or credential feature for API keys, use that instead of typing the key into a header. If a workflow that holds a key has been shared or exported, revoke the key and make a new one.

Notion workflows

QuoteBill does not connect to Notion by itself. What works is the same recipe with Notion as the source: Make and n8n can read a Notion database, and either can then send the HTTP request above.

  1. Keep the billing rows in a Notion database: customer, item, quantity, unit price, and a status you set when a row is ready to bill.
  2. In Make or n8n, read the rows of that database that are ready (their Notion module or node reads database items).
  3. Map each row to the JSON body above, and send it with an HTTP request and the Idempotency-Key of the row.
  4. Store the returned editor_url where your workflow keeps its results.

The same steps work from any tool that can read your data and make an HTTP request.

Limits

LimitValue
Requests for one key60 a minute and 5,000 a day (clock minutes and UTC days), whichever endpoint is called
Documents made through the API for one account500 a UTC day
Your cloud documentsThe same limit as in the editor, counting every document, whoever made it. A full cloud answers 403 document_limit_reached; delete documents or invite friends for room.
Active keys5 for one account; at most 20 new keys a day
Body of a request256 KB, 200 items
Idempotency-Keyremembered for 24 hours

The limits are counted in fixed windows, so a burst across a minute's end can briefly reach twice the figure. A request over a limit gets 429 with a Retry-After header: the seconds to wait.

Price and higher limits

The API is free for QuoteBill members, within the limits above. To ask about higher limits, write through the contact page: https://quotebill.com/en/contact/.

Each key may make 60 requests a minute and 5,000 a day (UTC days), whichever endpoint it calls; one account may make 500 documents a day through the API.

Errors

An error is {"error": {"code": "...", "message": "..."}}. A request refused for its content (422 invalid_request) also lists the fields, as fields: [{"path", "message"}], up to 20 at a time. Nothing else is in an error: no trace, no internal id.

StatusCodeMeaning
400invalid_jsonThe body is not valid JSON or not valid UTF-8 text.
400invalid_queryA parameter of the list is not one the endpoint has, or has a wrong value.
400invalid_idempotency_keyThe Idempotency-Key header is not 1 to 255 letters, digits, dots, dashes, underscores or colons.
401invalid_api_keyThe key is missing, wrong, revoked or expired.
403insufficient_scopeThe key does not have the scope the endpoint needs.
403document_limit_reachedYour QuoteBill cloud is full.
404not_foundNo such endpoint, or no such document of yours.
405method_not_allowedThe endpoint does not have that method (the Allow header lists them).
409document_number_takenAnother of your documents has this document_number.
409idempotency_key_reusedThe Idempotency-Key was used for a different request in the last 24 hours.
413payload_too_largeThe body is over 256 KB.
415unsupported_media_typeThe body is not sent as application/json.
422invalid_requestA field is missing, unknown or out of range, or a text holds characters that cannot be stored; the fields list says which.
429rate_limitedA key made too many requests; wait Retry-After seconds.
429daily_document_limitThe account has made 500 documents through the API today.
500internal_errorSomething went wrong on QuoteBill's side. Retry; if it persists, contact support.
503service_unavailableQuoteBill could not answer just now. Retry after a few seconds.

OpenAPI description and Postman collection

The whole API is described in an OpenAPI 3.1 file: every endpoint, field, bound, error code and example in it is generated from the API's own code and answers, and a test fails when the two differ. A Postman collection (format 2.1) is generated from that file.

  • Point a client generator or an API tool at the OpenAPI address; it may be read from any site (it is sent with Access-Control-Allow-Origin: *). The API itself still sends no CORS headers.
  • In Postman, import the collection from its address, then put your key in the collection's apiKey variable. Do not share or export a collection that holds a key; if one was shared, revoke the key and make a new one.

Stability and versioning

v1 changes only by addition: new endpoints, new optional request fields and new fields in answers. A change that could break a working integration (a field or endpoint removed or renamed, a type or meaning changed, a field made required) is made only in a new version, /v2, announced in the changelog at least six months before v1 changes or stops. Only a security problem or a legal obligation could make a change sooner, and the changelog would say so and why.

  • Read answers tolerantly: ignore a field you do not know, as v1 may add fields.
  • Write requests strictly: a field the API does not know is refused, so an addition to v1 never changes what an existing request does.
  • The version of the description is in openapi.json (info.version, now 1.1.0); it goes up with every addition.

Changelog

VersionChanges
1.1.0QuoteBill V 1.38, October 2026. Added POST /v1/calculate and GET /v1/countries; items[].discount and region on POST /v1/documents; the OpenAPI description and the Postman collection. Nothing was removed or changed.
1.0.0QuoteBill V 1.28, 5 October 2026. First version: GET /v1/ping, GET /v1/templates, POST /v1/documents, GET /v1/documents and GET /v1/documents/{id}.

Keeping a key safe

A key is a password for creating documents in your account. QuoteBill keeps only a fingerprint of it (a SHA-256 hash), so it cannot show you the key again.

  • Store the key in the credential store of the tool that uses it, never in a sheet, a Notion page, a document, a chat message, a screenshot or a web address.
  • Make one key for each workflow, named for it, so that you can revoke one without stopping the others.
  • To rotate a key, make the new one, put it in the tool, check it, then revoke the old one.
  • If a key may have been seen, revoke it at once in Company settings; it stops working on the next request.
  • Look at "last used" in the list: a key you do not recognise, or one used when nothing should have run, is a reason to revoke it.
  • Use the shortest validity that suits the job.
  • Revoke keys you no longer use. Keys are not revoked automatically when you change your password.

What the API cannot do

  • Send a document or an e-mail, or e-sign or send a contract; create or change a contract.
  • Edit, replace or delete a document, or change its status. Open editor_url to do that.
  • Read another member's documents, or anything of your account but your own documents.
  • Change your account or company settings, or make or revoke keys. Keys are managed in Company settings only.
  • Call webhooks or any other address: there are no webhooks and no calls to addresses you supply (the service reads only QuoteBill's own published template and tax data), so poll GET /v1/documents if you need to know about a change.
  • Make a statement of account, or lines with an HS code, a country of origin or different tax rates; make those in the editor.
  • Take prices as including tax: prices are before tax, as on every QuoteBill document.
  • Be called from a browser page: it sends no CORS headers.

A QuoteBill document is a printable document, not a registered e-invoice, whatever way it was made. A tax rate the API fills in is the published rate for the country, a starting point you should confirm.

See also

Make, Zapier, n8n, Notion, Google Sheets and Postman are products and trademarks of their owners. QuoteBill is not affiliated with, endorsed by or listed in any of them, and has no partner status with them. The steps above use only their generic HTTP request and import features, and steps in those products may change.