BillingEngine
App · 17 actions
Create customers and draft e-invoices, record payments and read your key figures in BillingEngine.
Actions
| Action | What it does |
|---|---|
| Create customer | Add a customer with their address. |
| Create draft invoice | Create a draft invoice for a customer. |
| Get customer | Get one customer by their ID. |
| Get invoice | Get one invoice with its items. |
| Get invoiced revenue | Get sent invoices' revenue by invoice date per period, without drafts and cancelled invoices. |
| Get open amounts | Get what customers owe today, what of it is overdue and what you've sent reminders for. |
| Get profit | Get income, expenses and profit per period, as on your dashboard. |
| Get VAT balance | Get output tax, input tax and the balance, as in your tax report. |
| List customers | List one page of customers, optionally searched or filtered. |
| List expenses per category | List tax deductible expenses per category, largest first. |
| List income per customer | List payments and cash revenues per customer, largest first. |
| List invoices | List one page of invoices, newest first, filtered as you choose. |
| List payments | List one page of payments, newest first. |
| List sales per article | List the quantity and amount invoiced per article, largest first. |
| Record payment | Record a payment against one or more sent, open invoices of the same customer. |
| Update customer | Change a customer's details. |
| Update draft invoice | Change a draft invoice. |
Create customer
Add a customer with their address.
Inputs
- Company
companytext - The company name. A new customer needs a company or a last name.
- First name
first_nametext - The contact's first name.
- Last name
last_nametext - The contact's last name.
- Email
emailtext - The email address invoices go to.
- Phone
phonetext - A phone number.
- VAT number
vat_numbertext - The customer's VAT number.
- Buyer reference
buyer_referencetext - The buyer reference for e-invoices, such as a Leitweg-ID.
- Customer type
customer_typetext - Whether the customer is a business or a consumer. Leave empty for your account's default.One of:
business,consumer. - Title
titletext - An academic or professional title, such as Dr.
- Salutation
salutationtext - How to address the customer.One of:
male(Mr),female(Ms),family. - Your own ID
external_idtext - The customer's ID in your own system. It must be unique.
- Street
line_1textRequired - The first address line.
- Address line 2
line_2text - The second address line.
- Postal code
postal_codetextRequired - The postal code.
- City
citytextRequired - The city.
- Region
regiontext - The region or state.
- Country
countrytextRequired - The two-letter ISO country code, such as DE.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"address": {
"city": "Berlin",
"country": "DE",
"line_1": "Hauptstra\u00dfe 1",
"line_2": "2. OG",
"postal_code": "10115",
"region": "Berlin"
},
"buyer_reference": "991-12345-67",
"company": "Muster GmbH",
"created_at": "2026-11-02T09:15:00Z",
"customer_type": "business",
"email": "anna@muster.example",
"external_id": "crm-4711",
"first_name": "Anna",
"id": 12,
"last_name": "Muster",
"name": "Muster GmbH",
"number": "10012",
"phone": "+49 30 1234567",
"salutation": "female",
"title": "Dr.",
"updated_at": "2026-11-20T14:03:00Z",
"vat_number": "DE123456789"
}
}Create draft invoice
Create a draft invoice for a customer. It stays a draft until you send it in BillingEngine.
Inputs
- Customer
customer_idnumberRequired - The customer to invoice.
- Items
itemslistRequired - The invoice's lines, each with a name and a price.
- Invoice date
datedate - The invoice date. Leave empty for today.
- Days to pay
due_daysnumber - How many days the customer has to pay.At least 0.
- Opening text
opening_texttext - Text shown before the items.
- Closing text
closing_texttext - Text shown after the items.
- Service from
service_period_start_datedate - The first day of the service period.
- Service to
service_period_end_datedate - The last day of the service period.
- Purchase order number
purchase_order_numbertext - The customer's purchase order number, printed on the invoice.
- Your own ID
external_idtext - The invoice's ID in your own system. An ID used before is refused, so a repeat can't create it twice.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"cancelled": false,
"closing_text": "Please pay within 14 days.",
"created_at": "2026-11-21T10:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-21",
"delivery_status": "sent",
"due_date": "2026-12-05",
"external_id": "order-9001",
"gross_amount": "642.60",
"id": 345,
"items": [
{
"article_number": "A-100",
"description": "On-site workshop",
"name": "Consulting",
"number": 1,
"price": "90.00",
"quantity": 6.0,
"tax_rate": 19.0,
"total": "540.00",
"unit_code": "HUR"
}
],
"language": "de",
"net_amount": "540.00",
"number": "000041",
"open_amount": "642.60",
"opening_text": "Thank you for your order.",
"prices_include_tax": false,
"purchase_order_number": "PO-2211",
"service_period_end_date": "2026-11-30",
"service_period_start_date": "2026-11-01",
"status": "open",
"tax_amount": "102.60",
"tax_breakdown": [
{
"net_amount": "540.00",
"tax_amount": "102.60",
"tax_rate": 19.0
}
],
"type": "invoice",
"updated_at": "2026-11-21T10:05:00Z",
"vat_treatment": "standard"
}
}Get customer
Get one customer by their ID.
Inputs
- Customer
idnumberRequired - The customer to get.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"address": {
"city": "Berlin",
"country": "DE",
"line_1": "Hauptstra\u00dfe 1",
"line_2": "2. OG",
"postal_code": "10115",
"region": "Berlin"
},
"buyer_reference": "991-12345-67",
"company": "Muster GmbH",
"created_at": "2026-11-02T09:15:00Z",
"customer_type": "business",
"email": "anna@muster.example",
"external_id": "crm-4711",
"first_name": "Anna",
"id": 12,
"last_name": "Muster",
"name": "Muster GmbH",
"number": "10012",
"phone": "+49 30 1234567",
"salutation": "female",
"title": "Dr.",
"updated_at": "2026-11-20T14:03:00Z",
"vat_number": "DE123456789"
}
}Get invoice
Get one invoice with its items.
Inputs
- Invoice ID
idnumberRequired - The ID of the invoice to get.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"cancelled": false,
"closing_text": "Please pay within 14 days.",
"created_at": "2026-11-21T10:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-21",
"delivery_status": "sent",
"due_date": "2026-12-05",
"external_id": "order-9001",
"gross_amount": "642.60",
"id": 345,
"items": [
{
"article_number": "A-100",
"description": "On-site workshop",
"name": "Consulting",
"number": 1,
"price": "90.00",
"quantity": 6.0,
"tax_rate": 19.0,
"total": "540.00",
"unit_code": "HUR"
}
],
"language": "de",
"net_amount": "540.00",
"number": "000041",
"open_amount": "642.60",
"opening_text": "Thank you for your order.",
"prices_include_tax": false,
"purchase_order_number": "PO-2211",
"service_period_end_date": "2026-11-30",
"service_period_start_date": "2026-11-01",
"status": "open",
"tax_amount": "102.60",
"tax_breakdown": [
{
"net_amount": "540.00",
"tax_amount": "102.60",
"tax_rate": 19.0
}
],
"type": "invoice",
"updated_at": "2026-11-21T10:05:00Z",
"vat_treatment": "standard"
}
}Get invoiced revenue
Get sent invoices' revenue by invoice date per period, without drafts and cancelled invoices.
Inputs
- From
afterdate - The first day of the range. Leave empty for the start of this year.
- To
beforedate - The last day of the range. Leave empty for the end of this year.
- Split by
intervaltext - Show the figures per month, quarter or year.One of:
month,quarter,year.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-01-01",
"before": "2026-12-31",
"currency": "EUR",
"data": [
{
"gross": "5355.00",
"net": "4500.00",
"period": "2026-11-01"
}
],
"interval": "month",
"total": {
"gross": "64260.00",
"net": "54000.00"
}
}
}Get open amounts
Get what customers owe today, what of it is overdue and what you've sent reminders for.
Inputs
None.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"as_of": "2026-12-01",
"currency": "EUR",
"open": {
"gross": "3808.00",
"net": "3200.00"
},
"overdue": {
"gross": "1428.00",
"net": "1200.00"
},
"reminded": {
"gross": "476.00",
"net": "400.00"
}
}
}Get profit
Get income, expenses and profit per period, as on your dashboard.
Inputs
- From
afterdate - The first day of the range. Leave empty for the start of this year.
- To
beforedate - The last day of the range. Leave empty for the end of this year.
- Split by
intervaltext - Show the figures per month, quarter or year.One of:
month,quarter,year.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-01-01",
"before": "2026-12-31",
"currency": "EUR",
"data": [
{
"asset_disposals": {
"gross": "0.00",
"net": "0.00"
},
"costs": {
"gross": "407.00",
"net": "350.00"
},
"depreciations": {
"gross": "50.00",
"net": "50.00"
},
"expenses": {
"gross": "357.00",
"net": "300.00"
},
"income": {
"gross": "1190.00",
"net": "1000.00"
},
"payments": {
"gross": "1071.00",
"net": "900.00"
},
"period": "2026-11-01",
"profit": {
"gross": "783.00",
"net": "650.00"
},
"revenues": {
"gross": "119.00",
"net": "100.00"
}
}
],
"interval": "month",
"total": {
"asset_disposals": {
"gross": "0.00",
"net": "0.00"
},
"costs": {
"gross": "407.00",
"net": "350.00"
},
"depreciations": {
"gross": "50.00",
"net": "50.00"
},
"expenses": {
"gross": "357.00",
"net": "300.00"
},
"income": {
"gross": "1190.00",
"net": "1000.00"
},
"payments": {
"gross": "1071.00",
"net": "900.00"
},
"profit": {
"gross": "783.00",
"net": "650.00"
},
"revenues": {
"gross": "119.00",
"net": "100.00"
}
}
}
}Get VAT balance
Get output tax, input tax and the balance, as in your tax report.
Inputs
- From
afterdate - The first day of the range. Give both days, or neither for the current VAT return period.
- To
beforedate - The last day of the range. Give both days, or neither for the current VAT return period.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-10-01",
"balance": "1450.00",
"before": "2026-12-31",
"currency": "EUR",
"input_tax": "450.00",
"output_tax": "1900.00",
"unassigned_bookings": 0
}
}List customers
List one page of customers, optionally searched or filtered.
Inputs
- Search
querytext - Find customers whose company, name or email contains this.
- Your own ID
external_idtext - Only the customer with this ID from your own system.
- Changed since
updated_sincedate and time - Only customers changed at or after this time.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"data": [
{
"address": {
"city": "Berlin",
"country": "DE",
"line_1": "Hauptstra\u00dfe 1",
"line_2": "2. OG",
"postal_code": "10115",
"region": "Berlin"
},
"buyer_reference": "991-12345-67",
"company": "Muster GmbH",
"created_at": "2026-11-02T09:15:00Z",
"customer_type": "business",
"email": "anna@muster.example",
"external_id": "crm-4711",
"first_name": "Anna",
"id": 12,
"last_name": "Muster",
"name": "Muster GmbH",
"number": "10012",
"phone": "+49 30 1234567",
"salutation": "female",
"title": "Dr.",
"updated_at": "2026-11-20T14:03:00Z",
"vat_number": "DE123456789"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
}
}
}List expenses per category
List tax deductible expenses per category, largest first.
Inputs
- From
afterdate - The first day of the range. Leave empty for the start of this year.
- To
beforedate - The last day of the range. Leave empty for the end of this year.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-01-01",
"before": "2026-12-31",
"currency": "EUR",
"data": [
{
"category": {
"id": 12,
"name": "Software"
},
"gross": "5950.00",
"net": "5000.00"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
},
"total": {
"gross": "64260.00",
"net": "54000.00"
}
}
}List income per customer
List payments and cash revenues per customer, largest first.
Inputs
- From
afterdate - The first day of the range. Leave empty for the start of this year.
- To
beforedate - The last day of the range. Leave empty for the end of this year.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-01-01",
"before": "2026-12-31",
"currency": "EUR",
"data": [
{
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"gross": "5950.00",
"net": "5000.00"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
},
"total": {
"gross": "64260.00",
"net": "54000.00"
}
}
}List invoices
List one page of invoices, newest first, filtered as you choose.
Inputs
- Status
statustext - Only invoices with this status.One of:
draft,open,overdue,paid,uncollectible,cancelled,cancellation. - Type
typetext - Only invoices, or only credit notes.One of:
invoice(Invoices),credit_note(Credit notes). - Customer
customer_idnumber - Only invoices to this customer.
- Dated on or after
afterdate - Only invoices dated on or after this day.
- Dated on or before
beforedate - Only invoices dated on or before this day.
- Invoice number
numbertext - Only the invoice with this number.
- Your own ID
external_idtext - Only the invoice with this ID from your own system.
- Changed since
updated_sincedate and time - Only invoices changed at or after this time.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"data": [
{
"cancelled": false,
"created_at": "2026-11-21T10:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-21",
"delivery_status": "sent",
"due_date": "2026-12-05",
"external_id": "order-9001",
"gross_amount": "642.60",
"id": 345,
"net_amount": "540.00",
"number": "000041",
"open_amount": "642.60",
"prices_include_tax": false,
"status": "open",
"tax_amount": "102.60",
"type": "invoice",
"updated_at": "2026-11-21T10:05:00Z"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
}
}
}List payments
List one page of payments, newest first.
Inputs
- Invoice ID
invoice_idnumber - Only payments of the invoice with this ID.
- Your own ID
external_idtext - Only the payment with this ID from your own system.
- Changed since
updated_sincedate and time - Only payments changed at or after this time.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"data": [
{
"amount": "642.60",
"cancelled": false,
"created_at": "2026-11-25T08:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-25",
"external_id": "bank-tx-5531",
"id": 77,
"invoice_ids": [
345
],
"number": "77",
"payment_method": "transfer",
"updated_at": "2026-11-25T08:00:00Z"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
}
}
}List sales per article
List the quantity and amount invoiced per article, largest first.
Inputs
- From
afterdate - The first day of the range. Leave empty for the start of this year.
- To
beforedate - The last day of the range. Leave empty for the end of this year.
- Page
pagenumber - Which page to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many records a page holds, up to 100.From 1 to 100.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"after": "2026-01-01",
"before": "2026-12-31",
"currency": "EUR",
"data": [
{
"article": {
"id": 12,
"name": "Consulting hour"
},
"gross": "5950.00",
"net": "5000.00",
"quantity": "6.0"
}
],
"pagination": {
"count": 87,
"page": 1,
"pages": 4,
"per_page": 25
},
"total": {
"gross": "64260.00",
"net": "54000.00"
}
}
}Record payment
Record a payment against one or more sent, open invoices of the same customer.
Inputs
- Amount
amountnumberRequired - The gross amount paid.
- Invoice IDs
invoice_idslistRequired - The IDs of the sent, open invoices it pays. They must be the same customer's.
- Date
datedate - When it was paid. Leave empty for today.
- Method
payment_methodtext - How it was paid.One of:
transfer(Bank transfer),cash. - Your own ID
external_idtext - The payment's ID in your own system.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"amount": "642.60",
"cancelled": false,
"created_at": "2026-11-25T08:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-25",
"external_id": "bank-tx-5531",
"id": 77,
"invoice_ids": [
345
],
"number": "77",
"payment_method": "transfer",
"updated_at": "2026-11-25T08:00:00Z"
}
}Update customer
Change a customer's details. Fields you leave empty stay as they are.
Inputs
- Customer
idnumberRequired - The customer to change.
- Company
companytext - The company name. A new customer needs a company or a last name.
- First name
first_nametext - The contact's first name.
- Last name
last_nametext - The contact's last name.
- Email
emailtext - The email address invoices go to.
- Phone
phonetext - A phone number.
- VAT number
vat_numbertext - The customer's VAT number.
- Buyer reference
buyer_referencetext - The buyer reference for e-invoices, such as a Leitweg-ID.
- Customer type
customer_typetext - Whether the customer is a business or a consumer. Leave empty for your account's default.One of:
business,consumer. - Title
titletext - An academic or professional title, such as Dr.
- Salutation
salutationtext - How to address the customer.One of:
male(Mr),female(Ms),family. - Your own ID
external_idtext - The customer's ID in your own system. It must be unique.
- Street
line_1text - The first address line.
- Address line 2
line_2text - The second address line.
- Postal code
postal_codetext - The postal code.
- City
citytext - The city.
- Region
regiontext - The region or state.
- Country
countrytext - The two-letter ISO country code, such as DE.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"address": {
"city": "Berlin",
"country": "DE",
"line_1": "Hauptstra\u00dfe 1",
"line_2": "2. OG",
"postal_code": "10115",
"region": "Berlin"
},
"buyer_reference": "991-12345-67",
"company": "Muster GmbH",
"created_at": "2026-11-02T09:15:00Z",
"customer_type": "business",
"email": "anna@muster.example",
"external_id": "crm-4711",
"first_name": "Anna",
"id": 12,
"last_name": "Muster",
"name": "Muster GmbH",
"number": "10012",
"phone": "+49 30 1234567",
"salutation": "female",
"title": "Dr.",
"updated_at": "2026-11-20T14:03:00Z",
"vat_number": "DE123456789"
}
}Update draft invoice
Change a draft invoice. Fields you leave empty stay as they are.
Inputs
- Invoice ID
idnumberRequired - The ID of the draft invoice to change.
- Customer
customer_idnumber - The customer to invoice.
- Items
itemslist - The invoice's lines, each with a name and a price. They replace all the draft's items.
- Invoice date
datedate - The invoice date. Leave empty for today.
- Days to pay
due_daysnumber - How many days the customer has to pay.At least 0.
- Opening text
opening_texttext - Text shown before the items.
- Closing text
closing_texttext - Text shown after the items.
- Service from
service_period_start_datedate - The first day of the service period.
- Service to
service_period_end_datedate - The last day of the service period.
- Purchase order number
purchase_order_numbertext - The customer's purchase order number, printed on the invoice.
- Your own ID
external_idtext - The invoice's ID in your own system. An ID used before is refused, so a repeat can't create it twice.
Outputs
dataobject- The response from BillingEngine.
Example output
{
"data": {
"cancelled": false,
"closing_text": "Please pay within 14 days.",
"created_at": "2026-11-21T10:00:00Z",
"currency": "EUR",
"customer": {
"id": 12,
"name": "Muster GmbH"
},
"date": "2026-11-21",
"delivery_status": "sent",
"due_date": "2026-12-05",
"external_id": "order-9001",
"gross_amount": "642.60",
"id": 345,
"items": [
{
"article_number": "A-100",
"description": "On-site workshop",
"name": "Consulting",
"number": 1,
"price": "90.00",
"quantity": 6.0,
"tax_rate": 19.0,
"total": "540.00",
"unit_code": "HUR"
}
],
"language": "de",
"net_amount": "540.00",
"number": "000041",
"open_amount": "642.60",
"opening_text": "Thank you for your order.",
"prices_include_tax": false,
"purchase_order_number": "PO-2211",
"service_period_end_date": "2026-11-30",
"service_period_start_date": "2026-11-01",
"status": "open",
"tax_amount": "102.60",
"tax_breakdown": [
{
"net_amount": "540.00",
"tax_amount": "102.60",
"tax_rate": 19.0
}
],
"type": "invoice",
"updated_at": "2026-11-21T10:05:00Z",
"vat_treatment": "standard"
}
}