API-dokumentation
REST API for companies, partners, items and invoices. Authenticate with a cabinet token.
Skicka Authorization: Bearer TOKEN i varje anrop.
Bas-URL: https://bill.integrono.com/api/v1
Returns the authenticated user and tenant.
{
"user": { "id": 1, "name": "Igor", "email": "[email protected]" },
"tenant": { "id": 1, "currency": "EUR" }
}
Firms you invoice from.
Add a sender company. Set is_default to use it on new invoices.
{
"name": "Studio North",
"legal_name": "Studio North s.r.o.",
"email": "[email protected]",
"phone": "+420000000",
"address": "Prague",
"tax_id": "CZ123",
"is_default": true
}
One company by id.
Same fields as create.
Blocked if the company has invoices or it is the last one.
People and firms you invoice.
Need at least a name. Email is required if you want to send the invoice from the API.
{
"name": "Alex",
"company": "North Client",
"email": "[email protected]",
"phone": "+380501112233",
"address": "Kyiv",
"tax_id": "",
"notes": ""
}
One partner by id.
Same fields as create.
Blocked if the partner has invoices.
Catalog lines you reuse on invoices.
Repeating line for the catalog.
{
"name": "Design sprint",
"description": "4 days",
"unit_price": 1240,
"tax_rate": 0
}
One catalog item by id.
Same fields as create.
Removes the catalog row. Existing invoice lines stay as text.
Custom hosts for invoice payment links. After DNS is live, pay_url uses that host.
Save a hostname. Point a CNAME to bill.integrono.com or link.integrono.com, then verify.
{
"host": "pay.studio.com"
}
Checks CNAME, A record, TXT _bill-verify, or http://host/.well-known/bill-domain.
New and existing pay_url values use https://host/i/{token}.
Stops branded links. Invoices fall back to bill.integrono.com.
Optional query: status=draft|issued|paid|overdue|cancelled.
Create a draft, or issue and send in one call. issue=true writes a number and pay_url. send=true emails the partner.
{
"company_id": 1,
"partner_id": 2,
"currency": "EUR",
"due_date": "2026-09-01",
"notes": "Sprint 4",
"allow_stripe": true,
"allow_paypal": true,
"issue": true,
"send": true,
"lines": [
{
"item_id": 3,
"description": "Design sprint",
"quantity": 1,
"unit_price": 1240,
"tax_rate": 0
}
]
}
{
"id": 10,
"number": "BILL-2026-0001",
"status": "issued",
"pay_url": "https://bill.integrono.com/i/...",
"total": 1240
}
Full invoice with lines, partner, company and pay_url when issued.
Allowed for draft, issued and overdue invoices. Send issue=true to issue a draft.
Assigns a number and opens the public payment link.
Emails the payment link to the partner. The partner must have an email. Issued invoices only.
Stops payment. Paid invoices stay paid.
Returns the invoice PDF file.