One POST call, and the invoice is at NAV.
JSON in, invoice out: the document issued, submitted to NAV Online Számla 3.0 (the Hungarian Tax Authority's e-invoicing system), returned as a PDF and as a thermal slip. For a webshop, a till, an internal system. This page is the full reference: all 58 endpoints, with a request and response example for each, in your own programming language, without signing in.
Overview
Every request goes over HTTPS, authenticated with a Bearer API key, with a JSON request and response. On issue (if you ask for it) the invoice is forwarded right away to the NAV Online Számla 3.0 system. Processing is asynchronous, you follow the state by querying the status or with a webhook.
The machine-readable spec is available without authentication too: GET /v1/openapi.yaml, GET /v1/openapi.json and GET /v1/postman.json: OpenAPI 3.1 and Postman v2.1, generated from the real route table. Any OpenAPI generator (for example openapi-generator) builds a client from the spec, and in the Postman collection fill in the baseUrl and apiKey variables. We deliberately do not ship an SDK: for a thin REST surface your own HTTP client is less risk than a separately versioned package. That is why the page has a ready example call for every endpoint in four languages.
Authentication
Every call expects an Authorization header with the API key. You create keys on the API keys page of the logged-in app, and we show the full key once, when it is created.
Authorization: Bearer bfx_live_••••••••a91Fx
The system sets the key prefix, and it shows the environment: bfx_live_ on the live system, bfx_test_ in the sandbox. A key is only valid in the environment where it was created, so the two cannot be mixed up by accident.
Scopes
| Scope | Type | Description |
|---|---|---|
| invoice:write | write | Issuing documents and changing their state: invoice, receipt, cancellation, modifying invoice, technical annulment, finalising and deleting drafts, sending emails, payment status, recording expenses, uploading attachments. |
| invoice:read | read | Read your own documents: list, details, A4 PDF, thermal PNG, archive hashes, chain, advances, overdue invoices, overview metrics, the daily status of receipt reporting. |
| query:read | query | External queries and data stored at NAV: company lookup by tax number, VIES, MNB rate, outbound/inbound invoices stored at NAV, your own submissions, attachments, reading manual expenses. |
A key can have several scopes. A missing scope gives a 403 INSUFFICIENT_SCOPE error. Management endpoints cannot be reached with an API key: managing keys, setting up the NAV technical user, the partner and product records, and setting the webhook address only work from a logged-in session, so a key can never create or revoke another key.
Common conventions
Request
The body is application/json (UTF-8), and the file upload endpoints expect a multipart/form-data request with a file field. Dates have the YYYY-MM-DD form, timestamps are ISO 8601 with a UTC offset. The currency is an ISO 4217 code. Field names are camelCase, and several fields have a shorter alias too (for example qty, unitPrice).
Error envelope
Every error comes in the same envelope, with a stable code you can branch on in code next to the HTTP status. The details field depends on the error code (for example the seconds left for the rate limit, the missing feature for a plan gate).
HTTP/1.1 403 Forbidden Content-Type: application/json { "error": { "code": "INSUFFICIENT_SCOPE", "message": "Az API kulcs nem rendelkezik jogosultsággal: invoice:write", "details": null } }
Idempotency
When issuing an invoice with an API key (POST /v1/invoices) the Idempotency-Key header is required, without it the response is 400 IDEMPOTENCY_KEY_REQUIRED. A call repeated with the same key AND the same request body returns the earlier response, without issuing a new invoice. While the first request is still being processed (or broke off with an uncertain outcome), the repeat gets 409 IDEMPOTENCY_KEY_CONFLICT. In that case first check whether the invoice was created. Because of gap-free numbering, a blind retry would issue a real, second invoice.
Rate limit
600 requests/min per key and on top of that 1200 requests/min per company (all keys and sessions together). Above it 429 RATE_LIMITED, and the wait time in seconds is in the Retry-After header and also in the details.retryAfter field of the response.
Paging
The list endpoints take page (from 1) and pageSize (max. 100, default 25) parameters, and return the { data: [...], pagination: { page, pageSize, total } } shape. The order is stable (newest first), so paging neither duplicates nor skips rows.
Binary responses
The invoice image endpoints do not return JSON: application/pdf (A4), image/png (80 mm thermal paper) or application/zip (bulk download), with an inline Content-Disposition header, so their example calls save to a file instead of printing JSON. For an issued (DONE) invoice the PDF returns the frozen, stored bytes: we do not render again, so the file served is byte-identical to what we archived and hashed.
Issuing an invoice
A single call: the response already brings the NAV transaction ID and the links to the document images. NAV processing is asynchronous, so the new invoice comes back in PROCESSING state. The language picker applies to the WHOLE page: whatever you choose here, you see every further example in that language too.
curl -X POST 'https://api.billfox.hu/v1/invoices' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Idempotency-Key: 7c1f-44a2-9e08' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-04", "paymentMethod": "TRANSFER", "currency": "HUF", "items": [ { "name": "Háromfogásos menü", "quantity": 12, "unit": "fő", "unitPriceNet": 8500, "vatRate": 27 } ], "submitToNav": true }'
{
"id": "MK-2026-000413",
"status": "PROCESSING",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"groupMemberTaxNumber": null,
"communityVatNumber": null, "thirdStateTaxId": null,
"viesConsultationNumber": null, "address": null, "isPrivate": false },
"issueDate": "2026-06-08",
"fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18",
"createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER",
"currency": "HUF",
"exchangeRate": 1.0,
"category": "NORMAL",
"channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540,
"netHuf": 102000, "vatHuf": 27540, "grossHuf": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L",
"error": null,
"errors": [],
"warnings": [],
"paymentStatus": { "paid": false, "paidAt": null, "paidVia": null,
"refundedAt": null, "dunningCount": 0, "dunningLastAt": null },
"email": { "sentAt": null, "sentTo": null, "deferred": false,
"includePayLink": true, "payLinkIncluded": false },
"links": {
"self": "/v1/invoices/MK-2026-000413",
"pdf": "/v1/invoices/MK-2026-000413/pdf",
"receipt": "/v1/invoices/MK-2026-000413/receipt"
},
"items": [
{ "name": "Háromfogásos menü", "quantity": 12.0, "unit": "fő",
"unitPriceNet": 8500.0, "vatRate": "27", "vatType": "PERCENTAGE",
"lineNet": 102000, "lineVat": 27540, "lineGross": 129540 }
]
}Request body fields
| Field | Type | Description |
|---|---|---|
| buyer | object | The customer. Exactly ONE kind of identifier: taxNumber (Hungarian company) OR communityVatNumber (EU, for example DE811907980) OR thirdStateTaxId (outside the EU). For a private individual (isPrivate: true) none of them. For a company the name and address are required. For a VAT group customer (VAT Act s. 8/A) taxNumber is the GROUP ID number (VAT code 5, this goes on the invoice), and the member's own tax number (VAT code 4) can be given in the optional groupMemberTaxNumber field: it goes to NAV (customerTaxNumber/groupMemberTaxNumber), not to the invoice image. |
| items | array | The invoice items, at least 1 and at most 1000. See their fields in the next section. |
| issueDate | date? | Issue date of the invoice (YYYY-MM-DD). If omitted, today. |
| fulfillmentDate | date? | Fulfilment date. If omitted, the issue date (on an aggregate invoice, the fulfilment of the last item). |
| dueDate | date? | Payment due date. If omitted, we compute it from the company's default payment term. |
| paymentMethod | string | TRANSFER (bank transfer, default) · CARD (card) · CASH (cash) · COD (cash on delivery). |
| currency | string | ISO 4217 code, default HUF. For a foreign currency exchangeRate is required, and for HUF the rate must be 1. |
| exchangeRate | number? | Exchange rate for 1 unit of the currency, in forints. Required on a foreign currency invoice. |
| submitToNav | bool | Default: true, the invoice goes to NAV right away. With false a DRAFT is created (with a temporary VÁZLAT-… ID, without a number), which POST /v1/invoices/{id}/submit finalises. |
| category | string | NORMAL (default) · SIMPLIFIED (simplified) · ADVANCE (advance invoice). PROFORMA (pro forma invoice) is NOT valid here (400), because it is not an invoice: the Documents path issues it. |
| appearance | string | paper (default) or electronic (e-invoice: in that case the digital file is the legal original). It can also be issued to private individual customers. |
| seriesId | string? | ID of a specific numbering series, copy it in the Numbering settings ("API ID"), and the server advances the number, you never give it by hand. If omitted, the default series of the category. It can also be given in short form (the first 8 characters of the ID, as the app shows it), unique within the company. The full 32-character ID is also accepted. |
| siteId | string? | ID of the site: its address is frozen on the invoice at issue, next to the registered office. It can also be given in short form (8 characters), and the user copies it from the Sites list of Company and invoice settings ("API ID"). |
| bankAccountId | string? | ID of the bank account. Copy it from Company and invoice settings → Company tab, Bank accounts list ("API ID"). Its account number/IBAN is frozen on the invoice at issue. Empty: the bank account matching the invoice currency (for example the EUR one for EUR), otherwise the default. It can also be given in short form (the first 8 characters of the ID, as the app shows it), unique within the company. The full 32-character ID is also accepted. |
| orderNumber | string? | Manual order number (max. 50 characters), under the parties on the invoice image, sent to NAV as orderNumbers. |
| navReferences | object? | Standard NAV references at invoice level (conventionalInvoiceInfo): {"costCenters": ["KH-01"], "generalLedgerAccountNumbers": ["9111"], …}. 15 lists: orderNumbers, deliveryNotes, shippingDates, contractNumbers, supplierCompanyCodes, customerCompanyCodes, dealerCodes, costCenters, projectNumbers, generalLedgerAccountNumbers, glnNumbersSupplier, glnNumbersCustomer, materialNumbers, itemNumbers, ekaerIds. 1 to 100 characters per value, at most 50 per list. They go on the invoice image and to NAV, and the cancellation and modifying invoices inherit them. |
| additionalAdvances | string[]? | Only on POST /v1/invoices/{id}/final: the numbers of further advance invoices (at most 20) that the same final invoice deducts besides the advance in the URL. All of them must belong to the same buyer, be in the same currency, and none may be settled already. Each advance gets its own deduction line, and the item's advanceOf field shows which advance it belongs to. Ignored elsewhere. |
| orderSeriesId | string? | ID of the order number series (the short 8-character form works too). The number is used at issue, and a manual orderNumber takes precedence. |
| paymentReference | object? | Bank transfer reference: {kind: number|order|custom|none, text?}: invoice number (default), order number (only if there is one), your own text (max. 140) or none. Frozen on the invoice at issue, not sent to NAV. |
| language | string | Language of the invoice image: hu (default) or en/de/fr/it, a bilingual image. Available on every plan. |
| originalFormat | string | The canonical (issued) format: a4 (default) or thermal (80 mm thermal paper). |
| discount | object? | Document-level discount: { kind: "percent"|"amount", value, label?, scope: "all"|"selected" }. A fixed amount is GROSS forints. It appears on the invoice as a separate, labelled negative item (one line per VAT rate), not blended into the unit price. |
| extraClauses | string[]? | At most 8 informational clauses, max. 500 characters each. They go at the bottom of the invoice image next to the MANDATORY clauses. Not sent to NAV. |
| metadata | object? | Your own identifiers (e.g. order, CRM customer, product): at most 20 keys, a key is 1 to 40 characters (letters, digits, _ . : -), a value is text only, at most 500 characters. GET /v1/invoices/{id} and the webhook return it. It does not go on the invoice image or to NAV. A wrong shape is a 400, without a serial number. The storno and the modifier inherit the original's when you give none. |
| deliverEmail / deliverEmailTo | bool / string | Automatically emails the download link to the customer as soon as NAV accepted the invoice (DONE), without an attachment. Without an address it goes to the partner record email. |
| deliveryMode | string? | How the buyer email is delivered, next to deliverEmail: link (default) | attachment (PDF attachment) | both. Missing → the company setting. |
| includePayLink | bool | On a bank transfer invoice, also offer card payment on the document page (default: false, a card invoice always has it). Only takes effect with a connected Stripe Connect account and an unpaid FORINT document. |
| markPaid | bool? | The invoice is created right away in "paid" state. If omitted, the payment method decides: CASH → paid, everything else (CARD too) → not paid. |
| paidOn | string? | Payment date (YYYY-MM-DD), only with markPaid, for example the day the transfer for a pro forma invoice arrived. Defaults to the issue date, and a future date gives 400. |
A rejection uses no number. We mirror NAV's hard errors BEFORE submission (name + address for a company customer, name/address/tax number for the issuer, the customer-side conditions of FAD and KBAET, the HUF = 1 exchange rate rule, bank account number format), and we only allocate the number after validation, so a rejected request leaves no gap in the gap-free numbering.
Item fields and VAT rates
Every element of the items[] array is an invoice item. The product code fields are optional, they are needed almost only for reverse charge (vatRate: FAD).
| Field | Type | Description |
|---|---|---|
| name | string | Name of the item. Required. |
| quantity | number | Quantity (> 0). Alias: qty. |
| unit | string | Unit of measure (db, fő, óra…). Default: db. |
| unitPriceNet | number | Net unit price (≥ 0). Alias: unitPrice, price. Give exactly one of net and gross. |
| unitPriceGross | number? | Gross unit price (≥ 0) instead of the net. The line is GROSS-FIRST (on invoices and documents alike): the gross is the rounded quantity × gross, the VAT is computed from above (× rate/(1+rate)), the net is the difference, so a HUF 2,500 price gives a HUF 2,500 document, and the response unitPriceNet is the back-calculated, informational net unit price. For a 0% or designated rate gross = net. It cannot be given TOGETHER with unitPriceNet (400 VALIDATION_ERROR). |
| vatRate | string | VAT rate or designation (see below). Default: 27. |
| productCodeCategory | string? | Product code type: VTSZ, SZJ, TESZOR, KN, OWN. Default: VTSZ if there is a value. |
| productCodeValue | string? | The product code (for example "7204 10 00"). Mainly needed for reverse charge (FAD). |
| deliveryDate | date? | The ITEM's fulfilment date. Only allowed on an aggregate invoice (isAggregate: true), and there it is REQUIRED on EVERY item. |
| exchangeRate | number? | The ITEM's exchange rate for its own fulfilment date (NAV lineExchangeRate). Only allowed on a foreign currency aggregate invoice, and if missing, the invoice's exchangeRate. The HUF amounts then come from the items, and the invoice rate is the derived quotient. |
| isDeposit | bool | Deposit-type item (DRS). A pure label: it does not affect the amounts or the VAT. |
| isIntermediated | bool | Intermediated service (Accounting Act s. 3 (4) 1.), triggers a mandatory clause. A pure label. |
| eraseCodes | string[]? | Data erasure codes (Government Decree 726/2020), a list or line-separated text. One code per piece, at most the quantity, whole quantities only. They go on the invoice image and to NAV as one additionalLineData element per code, and the cancellation repeats them. Invoices only. |
| navReferences | object? | Standard NAV references on the line (conventionalLineInfo), the same 15 lists as at invoice level. For example a separate GL account and cost centre for accommodation and the minibar. |
| discountApplies | bool | Whether the document-level discount applies to this item too (with scope: "selected"). |
| note | string? | Item note (max. 500 characters), under the item on the invoice image, not sent to NAV, cancellation/modifying invoices inherit it. |
vatRate: the possible values
In NAV's data model the VAT data is a choice: an item has either a percentage or a designation, never both. That is why one field carries both here too.
| Value | Meaning |
|---|---|
| 27 · 18 · 5 · 0 | Percentage VAT rates. Can be given as a percentage (27), a fraction (0.27) and as text. |
| AAM | Subjective VAT exemption (VAT Act Chapter XIII). |
| TAM | Exempt activity (VAT Act s. 85–86). |
| FAD | Domestic reverse charge (VAT Act s. 142): the customer needs a HUNGARIAN tax number. |
| KBAET | Intra-Community exempt supply of goods (VAT Act s. 89), requires an EU VAT number. |
| EUFAD37 | EU supply of services, reverse charge (VAT Act s. 37 (1)), requires an EU VAT number. On the invoice image the "37. §" designation + the mandatory clause. |
| ATK | A transaction outside the SUBJECT-MATTER scope of the VAT Act (s. 2–3). Not to be confused with a transaction performed abroad, which is outside the TERRITORIAL scope (HO / EUE / EUFADE). |
| EAM | Export of goods outside the Community (VAT Act s. 98–109), exempt. This is an EXEMPTION, not a 0% rate. |
| NAM | Other exemption related to international transactions (VAT Act s. 110–118). |
| KBAUK | Intra-Community exempt supply of a new means of transport (VAT Act s. 89 (2)): the customer can also be a NON-taxable person, so it does not require an EU VAT number. |
| EUFADE | A reverse-charged transaction performed in another member state that does NOT fall under s. 37 (for example a service connected to property there). |
| EUE | A transaction performed in another member state that is NOT reverse charged (for example OSS distance selling): the seller pays the VAT in the customer's country. |
| HO | A transaction performed in a third country, outside the TERRITORIAL scope of the VAT Act. |
| NO_VAT_CHARGE | No VAT charged (VAT Act s. 17): contribution in kind, legal succession, transfer of a business. Net = gross. |
| TRAVEL_AGENCY · SECOND_HAND · ARTWORK · ANTIQUES | Margin scheme (VAT Act Chapter XV): travel agency · second-hand goods · works of art · collectors' items and antiques. There is no VAT passed on in the item (net = gross), and the invoice image generates the mandatory clause from the key, not from the item name. |
The invoice image generates the mandatory clause for the designation by itself, you do not need to write it into the item name. The image and the NAV reporting work from the same field, so they cannot differ.
Flags and extras
All optional, and they belong to the POST /v1/invoices request body. What they have in common is that they control a NAV flag and/or a mandatory clause on the invoice image. The scope shows whether the field applies to the INVOICE, to an ITEM or to the issuer's profile.
| Field | Scope | Meaning |
|---|---|---|
| isAggregate: true | invoice level VAT Act s. 164 | Aggregate invoice. Several fulfilments for one customer over a period on a single invoice. deliveryDate is required on EVERY item, if it is missing the request is rejected, without using a number. On a foreign currency aggregate invoice the items get their own rate (items[].exchangeRate, for their fulfilment date). An aggregate invoice cannot be simplified (category: SIMPLIFIED → rejected). From delivery notes: sourceDocuments lists the delivery note numbers (GET /v1/documents/delivery-notes/open), at issue the delivery notes are closed onto the invoice. deliveryPeriodStart/End may be omitted. If you give them, the item dates must fall within them. |
| isPeriodical: true | invoice level VAT Act s. 58 | Periodic settlement. If the parties agreed on settlement or payment by period (rent, subscription, flat fee). deliveryPeriodStart/End carries the period, but it may be omitted. You can only give a header period together with this or with isAggregate, because on its own NAV objects to it. |
| isSelfBilling: true | invoice level VAT Act s. 169 l | Self-billing. The customer issues the invoice in the seller's name, based on a prior agreement. The issuer is still the seller, and the mandatory "Önszámlázás" (self-billing) clause is added automatically. |
| isDeposit: true | item level | Deposit. Line for a returnable bottle/crate. A pure label: it does not change the amounts or the VAT. |
| isIntermediated: true | item level Accounting Act s. 3 (4) 1. | Intermediated service. Someone else provided the service and you invoice it on unchanged (passed-on utilities, subcontractor fee). Triggers a mandatory clause, does not affect the amounts. |
| extraClauses: ["…"] | invoice level | Informational clauses. Max. 8 lines, 500 characters each, NEXT TO the mandatory clauses (for example environmental product fee, warranty terms). Not sent to NAV, they only appear on the invoice image. |
| discount | invoice level | Invoice discount. A percentage or fixed GROSS forint discount on the whole invoice or on the discountApplies: true items. It goes on the invoice as a separate, labelled negative item (one line per VAT rate), not hidden in the unit price. |
| cashAccounting · smallBusiness | frozen from the profile VAT Act s. 169 h | Cash accounting · small taxpayer. These two are NOT per-invoice data but the issuer's tax status: you switch them on in the account settings, and they are frozen on the invoice at issue. The API does NOT accept them in the request body, but you get them back in the response (only if true). |
Endpoint reference
The full surface callable with a Bearer API key: 58 endpoints in four groups, each with a ready example call in the selected language, and an example response where the shape of the response is information in itself. The blue label is the scope the call needs. This is the WHOLE programming interface: what is not listed here cannot be called with an API key.
Invoices
Callable with a Bearer API key · 30 endpoints/v1/invoicesinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/invoices' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Idempotency-Key: 7c1f-44a2-9e08' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-04", "paymentMethod": "TRANSFER", "currency": "HUF", "items": [ { "name": "Háromfogásos menü", "quantity": 12, "unit": "fő", "unitPriceNet": 8500, "vatRate": 27 } ], "submitToNav": true }'
{
"id": "MK-2026-000413",
"status": "PROCESSING",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"groupMemberTaxNumber": null,
"communityVatNumber": null, "thirdStateTaxId": null,
"viesConsultationNumber": null, "address": null, "isPrivate": false },
"issueDate": "2026-06-08",
"fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18",
"createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER",
"currency": "HUF",
"exchangeRate": 1.0,
"category": "NORMAL",
"channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540,
"netHuf": 102000, "vatHuf": 27540, "grossHuf": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L",
"error": null,
"errors": [],
"warnings": [],
"paymentStatus": { "paid": false, "paidAt": null, "paidVia": null,
"refundedAt": null, "dunningCount": 0, "dunningLastAt": null },
"email": { "sentAt": null, "sentTo": null, "deferred": false,
"includePayLink": true, "payLinkIncluded": false },
"links": {
"self": "/v1/invoices/MK-2026-000413",
"pdf": "/v1/invoices/MK-2026-000413/pdf",
"receipt": "/v1/invoices/MK-2026-000413/receipt"
},
"items": [
{ "name": "Háromfogásos menü", "quantity": 12.0, "unit": "fő",
"unitPriceNet": 8500.0, "vatRate": "27", "vatType": "PERCENTAGE",
"lineNet": 102000, "lineVat": 27540, "lineGross": 129540 }
]
}/v1/invoices/{id}/submitinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/VÁZLAT-8f3c1a2b/submit' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoicesinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices?status=done&q=Kov&page=1&pageSize=25' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"data": [
{
"id": "MK-2026-000413", "status": "DONE",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"address": null, "isPrivate": false },
"issueDate": "2026-06-08", "fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18", "createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER", "currency": "HUF", "exchangeRate": 1.0,
"category": "NORMAL", "channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L", "error": null, "errors": [],
"links": { "self": "…", "pdf": "…", "receipt": "…" }
}
],
"pagination": { "page": 1, "pageSize": 25, "total": 134 }
}/v1/invoices/{id}invoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"id": "MK-2026-000413",
"status": "PROCESSING",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"groupMemberTaxNumber": null,
"communityVatNumber": null, "thirdStateTaxId": null,
"viesConsultationNumber": null, "address": null, "isPrivate": false },
"issueDate": "2026-06-08",
"fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18",
"createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER",
"currency": "HUF",
"exchangeRate": 1.0,
"category": "NORMAL",
"channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540,
"netHuf": 102000, "vatHuf": 27540, "grossHuf": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L",
"error": null,
"errors": [],
"warnings": [],
"paymentStatus": { "paid": false, "paidAt": null, "paidVia": null,
"refundedAt": null, "dunningCount": 0, "dunningLastAt": null },
"email": { "sentAt": null, "sentTo": null, "deferred": false,
"includePayLink": true, "payLinkIncluded": false },
"links": {
"self": "/v1/invoices/MK-2026-000413",
"pdf": "/v1/invoices/MK-2026-000413/pdf",
"receipt": "/v1/invoices/MK-2026-000413/receipt"
},
"items": [
{ "name": "Háromfogásos menü", "quantity": 12.0, "unit": "fő",
"unitPriceNet": 8500.0, "vatRate": "27", "vatType": "PERCENTAGE",
"lineNet": 102000, "lineVat": 27540, "lineGross": 129540 }
]
}/v1/invoices/{id}/pdfinvoice:read200 OK · application/pdfcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/pdf' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output szamla.pdf
/v1/invoices/{id}/nav-xmlinvoice:read200 OK · application/xmlcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/nav-xml' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output szamla.xml
/v1/invoices/{id}/receiptinvoice:read200 OK · image/pngcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/receipt?width_mm=80&dpi=203' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output blokk.png
/v1/invoices/{id}/send-emailinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/send-email' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "to": "vevo@example.hu", "payLink": true, "resend": false, "deliveryMode": "both" }'
/v1/invoice-items/parseinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoice-items/parse' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}/attachmentsinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/attachments' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}/attachmentsinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/attachments' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "certificate": "TIG-2026-000012" }'
/v1/invoices/{id}/attachments/{attachmentId}invoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/attachments/{attachmentId}' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}/attachments/{attachmentId}invoice:write200 OKcurl -X DELETE 'https://api.billfox.hu/v1/invoices/MK-2026-000413/attachments/{attachmentId}' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}/archiveinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/archive' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"invoice": "MK-2026-000413",
"documents": [
{
"docType": "PDF",
"algorithm": "SHA3-512",
"hash": "9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08…",
"byteSize": 48213,
"retentionUntil": "2035-12-31",
"storageRef": null,
"archivedAt": "2026-06-08T09:13:01+00:00"
}
]
}/v1/invoices/{id}/resubmitinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/resubmit' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}/refresh-statusinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/refresh-status' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"id": "MK-2026-000413",
"status": "PROCESSING",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"groupMemberTaxNumber": null,
"communityVatNumber": null, "thirdStateTaxId": null,
"viesConsultationNumber": null, "address": null, "isPrivate": false },
"issueDate": "2026-06-08",
"fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18",
"createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER",
"currency": "HUF",
"exchangeRate": 1.0,
"category": "NORMAL",
"channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540,
"netHuf": 102000, "vatHuf": 27540, "grossHuf": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L",
"error": null,
"errors": [],
"warnings": [],
"paymentStatus": { "paid": false, "paidAt": null, "paidVia": null,
"refundedAt": null, "dunningCount": 0, "dunningLastAt": null },
"email": { "sentAt": null, "sentTo": null, "deferred": false,
"includePayLink": true, "payLinkIncluded": false },
"links": {
"self": "/v1/invoices/MK-2026-000413",
"pdf": "/v1/invoices/MK-2026-000413/pdf",
"receipt": "/v1/invoices/MK-2026-000413/receipt"
},
"items": [
{ "name": "Háromfogásos menü", "quantity": 12.0, "unit": "fő",
"unitPriceNet": 8500.0, "vatRate": "27", "vatType": "PERCENTAGE",
"lineNet": 102000, "lineVat": 27540, "lineGross": 129540 }
]
}/v1/invoices/{id}/stornoinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/storno' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"original": {
"id": "MK-2026-000413", "status": "DONE",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"address": null, "isPrivate": false },
"issueDate": "2026-06-08", "fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18", "createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER", "currency": "HUF", "exchangeRate": 1.0,
"category": "NORMAL", "channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L", "error": null, "errors": [],
"links": { "self": "…", "pdf": "…", "receipt": "…" }
},
"storno": {
"id": "MK-2026-000414", "status": "PROCESSING", "category": "NORMAL",
"stornoOf": { "number": "MK-2026-000413" },
"totals": { "net": -102000, "vat": -27540, "gross": -129540 },
"…": "a teljes sztornó bizonylat, items-szel (negált sorok)"
}
}/v1/invoices/{id}/modifyinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/modify' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-04", "items": [ { "name": "Háromfogásos menü", "quantity": 10, "unit": "fő", "unitPriceNet": 8500, "vatRate": 27 } ], "submitToNav": true }'
{
"original": {
"id": "MK-2026-000413", "status": "DONE",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"address": null, "isPrivate": false },
"issueDate": "2026-06-08", "fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18", "createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER", "currency": "HUF", "exchangeRate": 1.0,
"category": "NORMAL", "channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L", "error": null, "errors": [],
"links": { "self": "…", "pdf": "…", "receipt": "…" }
},
"modifier": {
"id": "MK-2026-000415", "status": "PROCESSING", "category": "NORMAL",
"modifies": { "number": "MK-2026-000413", "index": 1 },
"…": "csak a KÜLÖNBÖZET: ellentételező + új tételek, delta-összegekkel"
}
}/v1/invoices/{id}/annulinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/annul' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "code": "ERRATIC_DATA", "reason": "Hibás adat a NAV-adatszolgáltatásban." }'
/v1/invoices/{id}/chaininvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/chain' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"invoice": "MK-2026-000413",
"elements": [
{ "invoiceNumber": "MK-2026-000413", "invoiceOperation": "CREATE",
"supplierTaxNumber": "25875025", "customerTaxNumber": "24896713",
"insDate": "2026-06-04T10:00:00Z", "originalRequestVersion": "3.0" },
{ "invoiceNumber": "MK-2026-000415", "invoiceOperation": "MODIFY", "…": "…" }
],
"modificationCount": 1,
"nextModificationIndex": 2
}/v1/invoices/{id}/spoilinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/spoil' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/{id}invoice:write204 No Contentcurl -X DELETE 'https://api.billfox.hu/v1/invoices/VÁZLAT-8f3c1a2b' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/invoices/advances/openinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/advances/open' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"data": [
{
"id": "MK-2026-000413", "status": "DONE",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"address": null, "isPrivate": false },
"issueDate": "2026-06-08", "fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18", "createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER", "currency": "HUF", "exchangeRate": 1.0,
"category": "NORMAL", "channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L", "error": null, "errors": [],
"links": { "self": "…", "pdf": "…", "receipt": "…" }
}
]
}/v1/invoices/{id}/finalinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/final' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Idempotency-Key: 7c1f-44a2-9e08' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-30", "paymentMethod": "TRANSFER", "currency": "HUF", "items": [ { "name": "Rendezvényszervezés", "quantity": 1, "unit": "db", "unitPriceNet": 900000, "vatRate": 27 } ], "additionalAdvances": ["MK-2026-000414"], "submitToNav": true }'
/v1/invoices/{id}/paidinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/paid' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "paid": true }'
/v1/invoices/paid-bulkinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/paid-bulk' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "numbers": ["MK-2026-000413", "MK-2026-000414"], "paid": true }'
{
"updated": 2,
"paid": true
}/v1/invoices/pdf-zipinvoice:read200 OK · application/zipcurl -X POST 'https://api.billfox.hu/v1/invoices/pdf-zip' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "numbers": ["MK-2026-000413", "MK-2026-000414"] }' \ --output szamlak.zip
/v1/invoices/email-bulkinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/email-bulk' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "numbers": ["MK-2026-000413", "MK-2026-000414"] }'
{
"sent": 1,
"skipped": 1,
"results": [
{ "number": "MK-2026-000413", "status": "sent", "to": "vevo@example.com" },
{ "number": "MK-2026-000414", "status": "skipped",
"reason": "Csak NAV által befogadott (DONE) számla küldhető el emailben." }
]
}/v1/invoices/overdueinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/invoices/overdue' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"data": [
{
"id": "MK-2026-000389", "buyer": { "name": "Kovács Bt." },
"currency": "HUF", "gross": 129540, "dueDate": "2026-05-18",
"daysOverdue": 21, "dunningCount": 1,
"dunningLastAt": "2026-05-25T08:00:00+00:00", "hasEmail": true
}
]
}/v1/invoices/{id}/dunning-reminderinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/dunning-reminder' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
Documents and receipts
Callable with a Bearer API key · 19 endpoints/v1/documentsinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/documents?kind=RECEIPT' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "paymentMethod": "CARD", "items": [ { "name": "Eszpresszó", "quantity": 2, "unit": "db", "unitPriceNet": 787.4, "vatRate": 27 } ] }'
{
"id": "NYG-2026-000101",
"kind": "RECEIPT",
"kindLabel": "Nyugta",
"status": "issued",
"buyer": { "name": null, "taxNumber": null, "communityVatNumber": null,
"thirdStateTaxId": null, "address": null, "isPrivate": true },
"issueDate": "2026-07-14",
"validUntil": null,
"createdAt": "2026-07-14T10:22:41+00:00",
"paymentMethod": "CARD",
"currency": "HUF",
"exchangeRate": 1.0,
"totals": { "net": 1575, "vat": 425, "gross": 2000, "grossHuf": 2000 },
"notes": null,
"convertedInvoiceNumber": null,
"correction": null,
"appearance": "paper",
"originalFormat": "thermal",
"email": { "sentAt": null, "sentTo": null },
"paymentStatus": { "paid": true, "paidAt": "2026-07-14T10:22:41+00:00",
"paidVia": "manual", "refundedAt": null },
"items": [
{ "name": "Eszpresszó", "quantity": 2.0, "unit": "db", "unitPriceNet": 787.4,
"vatRate": "27", "lineNet": 1575, "lineVat": 425, "lineGross": 2000 }
],
"warnings": []
}/v1/documentsinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/documents?kind=RECEIPT&page=1&pageSize=25' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}invoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/documents/NYG-2026-000101' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"id": "NYG-2026-000101",
"kind": "RECEIPT",
"kindLabel": "Nyugta",
"status": "issued",
"buyer": { "name": null, "taxNumber": null, "communityVatNumber": null,
"thirdStateTaxId": null, "address": null, "isPrivate": true },
"issueDate": "2026-07-14",
"validUntil": null,
"createdAt": "2026-07-14T10:22:41+00:00",
"paymentMethod": "CARD",
"currency": "HUF",
"exchangeRate": 1.0,
"totals": { "net": 1575, "vat": 425, "gross": 2000, "grossHuf": 2000 },
"notes": null,
"convertedInvoiceNumber": null,
"correction": null,
"appearance": "paper",
"originalFormat": "thermal",
"email": { "sentAt": null, "sentTo": null },
"paymentStatus": { "paid": true, "paidAt": "2026-07-14T10:22:41+00:00",
"paidVia": "manual", "refundedAt": null },
"items": [
{ "name": "Eszpresszó", "quantity": 2.0, "unit": "db", "unitPriceNet": 787.4,
"vatRate": "27", "lineNet": 1575, "lineVat": 425, "lineGross": 2000 }
],
"warnings": []
}/v1/documents/{number}invoice:write200 OKcurl -X PUT 'https://api.billfox.hu/v1/documents/VÁZLAT-8f3c1a2b' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "paymentMethod": "CARD", "items": [ { "name": "Eszpresszó", "quantity": 2, "unit": "db", "unitPriceNet": 787.4, "vatRate": 27 } ] }'
/v1/documents/{number}/issueinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/documents/VÁZLAT-8f3c1a2b/issue' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"id": "NYG-2026-000101",
"kind": "RECEIPT",
"kindLabel": "Nyugta",
"status": "issued",
"buyer": { "name": null, "taxNumber": null, "communityVatNumber": null,
"thirdStateTaxId": null, "address": null, "isPrivate": true },
"issueDate": "2026-07-14",
"validUntil": null,
"createdAt": "2026-07-14T10:22:41+00:00",
"paymentMethod": "CARD",
"currency": "HUF",
"exchangeRate": 1.0,
"totals": { "net": 1575, "vat": 425, "gross": 2000, "grossHuf": 2000 },
"notes": null,
"convertedInvoiceNumber": null,
"correction": null,
"appearance": "paper",
"originalFormat": "thermal",
"email": { "sentAt": null, "sentTo": null },
"paymentStatus": { "paid": true, "paidAt": "2026-07-14T10:22:41+00:00",
"paidVia": "manual", "refundedAt": null },
"items": [
{ "name": "Eszpresszó", "quantity": 2.0, "unit": "db", "unitPriceNet": 787.4,
"vatRate": "27", "lineNet": 1575, "lineVat": 425, "lineGross": 2000 }
],
"warnings": []
}/v1/documents/{number}/pdfinvoice:read200 OK · application/pdfcurl -X GET 'https://api.billfox.hu/v1/documents/NYG-2026-000101/pdf' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output bizonylat.pdf
/v1/documents/{number}/receiptinvoice:read200 OK · image/pngcurl -X GET 'https://api.billfox.hu/v1/documents/NYG-2026-000101/receipt' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output nyugta.png
/v1/documents/{number}/voidinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/documents/NYG-2026-000101/void' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}/correctinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/documents/NYG-2026-000101/correct' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "mode": "MODIFY", "reason": "Téves mennyiség a nyugtán.", "items": [ { "name": "Eszpresszó", "quantity": 1, "unit": "db", "unitPriceNet": 787.4, "vatRate": 27 } ] }'
{
"id": "NYH-2026-000004",
"kind": "RECEIPT_CORRECTION",
"kindLabel": "Nyugta-helyesbítő okirat",
"status": "issued",
"issueDate": "2026-07-16",
"currency": "HUF",
"totals": { "net": -787, "vat": -213, "gross": -1000, "grossHuf": -1000 },
"correction": {
"mode": "MODIFY",
"correctsNumber": "NYG-2026-000101",
"correctsIssueDate": "2026-07-14",
"reason": "Téves mennyiség a nyugtán."
},
"items": [
{ "name": "Eszpresszó", "quantity": -1.0, "unit": "db", "unitPriceNet": 787.4,
"vatRate": "27", "lineNet": -787, "lineVat": -213, "lineGross": -1000 }
]
}/v1/documents/{number}invoice:write204 No Contentcurl -X DELETE 'https://api.billfox.hu/v1/documents/VÁZLAT-8f3c1a2b' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}/send-emailinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/documents/NYG-2026-000101/send-email' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "to": "vevo@example.hu", "resend": false, "deliveryMode": "attachment" }'
/v1/documents/{number}/attachmentsinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/documents/SZL-2026-000044/attachments' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}/attachmentsinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/documents/SZL-2026-000044/attachments' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "certificate": "TIG-2026-000012" }'
/v1/documents/{number}/attachments/{attachmentId}invoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/documents/SZL-2026-000044/attachments/{attachmentId}' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}/attachments/{attachmentId}invoice:write200 OKcurl -X DELETE 'https://api.billfox.hu/v1/documents/SZL-2026-000044/attachments/{attachmentId}' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/delivery-notes/openinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/documents/delivery-notes/open' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/documents/{number}/mark-convertedinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/documents/DB-2026-000017/mark-converted' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "invoiceNumber": "MK-2026-000418" }'
/v1/documents/pdf-zipinvoice:read200 OK · application/zipcurl -X POST 'https://api.billfox.hu/v1/documents/pdf-zip' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "numbers": ["MK-2026-000413", "MK-2026-000414"] }' \ --output bizonylatok.zip
/v1/documents/email-bulkinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/documents/email-bulk' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "numbers": ["MK-2026-000413", "MK-2026-000414"] }'
{
"sent": 1,
"skipped": 1,
"results": [
{ "number": "MK-2026-000413", "status": "sent", "to": "vevo@example.com" },
{ "number": "MK-2026-000414", "status": "skipped",
"reason": "Csak NAV által befogadott (DONE) számla küldhető el emailben." }
]
}Queries and NAV data
Callable with a Bearer API key · 20 endpoints/v1/taxpayers/{taxNumber}query:read200 OKcurl -X GET 'https://api.billfox.hu/v1/taxpayers/24896713-2-42' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"taxNumber": "24896713-2-42",
"name": "Kovács Kereskedelmi Bt.",
"address": "1051 Budapest, Bajcsy-Zsilinszky út 12.",
"valid": true,
"vatStatus": "NORMAL"
}/v1/vies/{communityVatNumber}query:read200 OKcurl -X GET 'https://api.billfox.hu/v1/vies/DE811907980' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"countryCode": "DE",
"vatNumber": "811907980",
"fullVatNumber": "DE811907980",
"valid": true,
"name": "BAYERISCHE MOTOREN WERKE AG",
"address": "PETUELRING 130, 80809 MUENCHEN",
"consultationNumber": "WAPIAAAAY1234567",
"requestDate": "2026-06-10"
}/v1/fx/mnb-ratequery:read200 OKcurl -X GET 'https://api.billfox.hu/v1/fx/mnb-rate?currency=EUR' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"currency": "EUR",
"rate": 353.66,
"date": "2026-07-03"
}/v1/nav/invoicesquery:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/invoices?direction=OUTBOUND&from=2026-06-01&to=2026-06-30&page=1' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"direction": "OUTBOUND",
"data": [
{
"invoiceNumber": "MK-2026-000413", "direction": "OUTBOUND",
"issueDate": "2026-06-08",
"supplierTaxNumber": "12345678-2-41", "supplierName": "Saját Kft.",
"customerTaxNumber": "24896713-2-42", "customerName": "Kovács Bt.",
"net": 102000, "vat": 27540, "gross": 129540, "currency": "HUF",
"invoiceCategory": "NORMAL", "invoiceOperation": "CREATE",
"localStatus": "DONE"
}
],
"pagination": { "page": 1, "availablePages": 1, "total": 1 }
}/v1/nav/transactionsquery:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/transactions?from=2026-06-01&to=2026-06-30&page=1' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"from": "2026-06-01", "to": "2026-06-30",
"data": [
{
"transactionId": "5F5824PTM7SSXDT3", "insDate": "2026-06-08T10:00:00.000Z",
"source": "MGM", "insCusUser": "tech_user", "requestStatus": "DONE",
"technicalAnnulment": false, "originalRequestVersion": "3.0",
"knownLocally": true
}
],
"pagination": { "page": 1, "availablePages": 1, "total": 1 }
}/v1/nav/invoices/{number}query:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043?direction=INBOUND' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"invoiceNumber": "BEV-2026/1043", "id": "BEV-2026/1043",
"direction": "INBOUND", "category": "NORMAL",
"issueDate": "2026-05-30", "fulfillmentDate": "2026-05-30",
"dueDate": "2026-06-13", "paymentMethod": "TRANSFER",
"currency": "HUF", "exchangeRate": 1.0, "status": "DONE",
"supplier": { "name": "Metro Kereskedelmi Kft.", "taxNumber": "13638955-2-44",
"address": "2040 Budaörs, Keleti út 3.",
"bankAccount": "10300002-20201234-00003285" },
"buyer": { "name": "Margitkert Étterem Kft.", "taxNumber": "26583149-2-41",
"communityVatNumber": null, "thirdStateTaxId": null, "isPrivate": false,
"address": "1023 Budapest, Margit körút 15." },
"advanceOf": null, "modifies": null,
"items": [
{ "name": "Pékáru", "quantity": 1.0, "unit": "tétel", "unitPriceNet": 31800.0,
"vatRate": "18", "lineNet": 31800, "lineVat": 5724, "lineGross": 37524 }
],
"totals": { "net": 242500, "vat": 62613, "gross": 305113 },
"source": "nav"
}/v1/nav/invoices/{number}/pdfquery:read200 OK · application/pdfcurl -X GET 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/pdf?direction=INBOUND' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output bejovo.pdf
/v1/nav/invoices/{number}/receiptquery:read200 OK · image/pngcurl -X GET 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/receipt?direction=INBOUND' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output bejovo.png
/v1/nav/receipt-day/{day}/closeinvoice:write200 OKcurl -X POST 'https://api.billfox.hu/v1/nav/receipt-day/2026-09-02/close' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"day": "2026-07-14", "deadline": "2026-07-17", "state": "recorded",
"configured": true, "receiptCount": 12, "cancelledCount": 1,
"navId": "25875025_20260714_1", "reportedAt": "2026-07-15T01:50:11+00:00",
"reports": [
{
"status": "RECORDED", "currency": "HUF", "exchangeRate": null,
"serialNumberStart": "NYG-2026-000101", "numberOfSale": 12,
"total": "154900.00", "navId": "25875025_20260714_1",
"submittedAt": "2026-07-15T01:50:11+00:00", "attempts": 1,
"vatItems": [
{ "vat": "27%", "saleDocument": "142400.00", "modifyingDocument": "0.00" },
{ "vat": "5%", "saleDocument": "12500.00", "modifyingDocument": "0.00" }
]
}
]
}/v1/nav/receipt-day/{day}/summaryinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/receipt-day/2026-10-20/summary' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"day": "2026-10-20", "firstNumber": "NYG-000018", "lastNumber": "NYG-000019",
"cancelledCount": 0, "closed": false,
"issuer": { "name": "Minta Kft.", "taxNumber": "12345678-2-42" },
"currencies": [
{
"currency": "HUF", "receiptCount": 2, "correctionCount": 0,
"salesGross": "2540.00", "correctionsGross": "0.00",
"total": "2540.00", "navTotal": "2540.00", "matchesNav": true,
"byPayment": [
{ "method": "CASH", "label": "Készpénz", "receipts": 1, "corrections": 0, "gross": "1270.00" },
{ "method": "CARD", "label": "Bankkártya", "receipts": 1, "corrections": 0, "gross": "1270.00" }
],
"byAppearance": [
{ "appearance": "paper", "label": "Papír", "count": 2, "gross": "2540.00" }
],
"receipts": [
{ "number": "NYG-000018", "kind": "RECEIPT", "corrects": null, "time": "09:12",
"method": "CASH", "methodLabel": "Készpénz", "appearance": "paper",
"appearanceLabel": "Papír", "gross": "1270.00", "cancelled": false }
]
}
],
"generatedAt": "2026-10-20T18:05+02:00"
}/v1/nav/receipt-day/{day}/summary/pdfinvoice:read200 OK · application/pdfcurl -X GET 'https://api.billfox.hu/v1/nav/receipt-day/2026-10-20/summary/pdf' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output napzaro.pdf
/v1/nav/receipt-day/{day}/summary/receiptinvoice:read200 OK · image/pngcurl -X GET 'https://api.billfox.hu/v1/nav/receipt-day/2026-10-20/summary/receipt' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output napzaro.png
/v1/nav/receipt-day/{day}invoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/receipt-day/2026-07-14' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"day": "2026-07-14", "deadline": "2026-07-17", "state": "recorded",
"configured": true, "receiptCount": 12, "cancelledCount": 1,
"navId": "25875025_20260714_1", "reportedAt": "2026-07-15T01:50:11+00:00",
"reports": [
{
"status": "RECORDED", "currency": "HUF", "exchangeRate": null,
"serialNumberStart": "NYG-2026-000101", "numberOfSale": 12,
"total": "154900.00", "navId": "25875025_20260714_1",
"submittedAt": "2026-07-15T01:50:11+00:00", "attempts": 1,
"vatItems": [
{ "vat": "27%", "saleDocument": "142400.00", "modifyingDocument": "0.00" },
{ "vat": "5%", "saleDocument": "12500.00", "modifyingDocument": "0.00" }
]
}
]
}/v1/nav/invoices/{number}/stornoinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/nav/invoices/TESZT-2026-0042/storno' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"original": { "number": "TESZT-2026-0042", "external": true },
"storno": {
"id": "LK-2026-000030", "status": "PROCESSING",
"stornoOf": { "number": "TESZT-2026-0042" },
"…": "a teljes sztornó bizonylat, items-szel (negált sorok)"
}
}/v1/nav/invoices/{number}/modifyinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/nav/invoices/TESZT-2026-0042/modify' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-04", "items": [ { "name": "Háromfogásos menü", "quantity": 10, "unit": "fő", "unitPriceNet": 8500, "vatRate": 27 } ], "submitToNav": true }'
/v1/nav/invoices/{number}/attachmentsquery:read200 OKcurl -X GET 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/attachments?direction=INBOUND' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"data": [
{
"id": "3f1c9a2b4d5e", "filename": "szallito-szamla.pdf",
"mime": "application/pdf", "byteSize": 48213, "hash": "9F86D081…",
"uploadedAt": "2026-06-10T09:13:01+00:00"
}
]
}/v1/nav/invoices/{number}/attachmentsinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/attachments' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -F 'file=@bizonylat.pdf'
/v1/nav/invoices/{number}/attachments/{attId}query:read200 OK · binarycurl -X GET 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/attachments/3f1c9a2b4d5e' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output eredeti.pdf
/v1/nav/invoices/{number}/attachments/{attId}invoice:write200 OKcurl -X DELETE 'https://api.billfox.hu/v1/nav/invoices/BEV-2026/1043/attachments/3f1c9a2b4d5e' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{ "deleted": true }/v1/dashboardinvoice:read200 OKcurl -X GET 'https://api.billfox.hu/v1/dashboard' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
{
"metrics": { "total": 134, "today": 6, "errors": 1, "processing": 2 },
"volume7d": [
{ "d": "H", "v": 12 }, { "d": "K", "v": 9 }, { "d": "Sze", "v": 14 },
{ "d": "Cs", "v": 7 }, { "d": "P", "v": 11 }, { "d": "Szo", "v": 0 },
{ "d": "V", "v": 6 }
],
"recent": [ {
"id": "MK-2026-000413", "status": "DONE",
"buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42",
"address": null, "isPrivate": false },
"issueDate": "2026-06-08", "fulfillmentDate": "2026-06-04",
"dueDate": "2026-06-18", "createdAt": "2026-06-08T09:12:03+00:00",
"paymentMethod": "TRANSFER", "currency": "HUF", "exchangeRate": 1.0,
"category": "NORMAL", "channel": "api",
"totals": { "net": 102000, "vat": 27540, "gross": 129540 },
"navTransactionId": "M0DS5JXAP2FU7L", "error": null, "errors": [],
"links": { "self": "…", "pdf": "…", "receipt": "…" }
} ]
}Expenses
With a Bearer API key · from the Plus plan · 6 endpoints/v1/expensesinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/expenses' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "supplierName": "Külföldi Szállító GmbH", "issueDate": "2026-07-14", "currency": "EUR", "netAmount": 100, "vatAmount": 27, "exchangeRate": 395.5, "note": "Alkatrész-beszerzés" }'
{
"id": "3f9a1c7e",
"supplierName": "Külföldi Szállító GmbH",
"supplierTaxNumber": null,
"invoiceNumber": null,
"issueDate": "2026-07-14",
"currency": "EUR",
"netAmount": 100.0,
"vatAmount": 27.0,
"grossAmount": 127.0,
"netAmountHuf": 39550.0,
"vatAmountHuf": 10679.0,
"grossAmountHuf": 50229.0,
"exchangeRate": 395.5,
"note": "Alkatrész-beszerzés",
"hasDocument": false,
"documentFilename": null,
"createdAt": "2026-07-15T10:00:00+00:00"
}/v1/expensesquery:read200 OKcurl -X GET 'https://api.billfox.hu/v1/expenses?from=2026-01-01&to=2026-07-31' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/expenses/{id}invoice:write200 OKcurl -X PUT 'https://api.billfox.hu/v1/expenses/3f9a1c7e' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Content-Type: application/json' \ -d '{ "supplierName": "Külföldi Szállító GmbH", "issueDate": "2026-07-14", "currency": "EUR", "netAmount": 100, "vatAmount": 27, "exchangeRate": 395.5, "note": "Alkatrész-beszerzés" }'
/v1/expenses/{id}invoice:write204 No Contentcurl -X DELETE 'https://api.billfox.hu/v1/expenses/3f9a1c7e' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
/v1/expenses/{id}/documentinvoice:write201 Createdcurl -X POST 'https://api.billfox.hu/v1/expenses/3f9a1c7e/document' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -F 'file=@bizonylat.pdf'
/v1/expenses/{id}/documentquery:read200 OK · binarycurl -X GET 'https://api.billfox.hu/v1/expenses/3f9a1c7e/document' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output kiadas.pdf
Plan gate: the expense side (inbound NAV invoices and manual expenses) is available from the Plus plan. On the free plan the /v1/expenses endpoints return 403 PLAN_FEATURE_UNAVAILABLE. But we never gate a legal obligation: cancellation, modifying invoices and NAV reporting work on every plan.
NAV processing statuses
Submission is asynchronous: the invoice comes back in PROCESSING state, and NAV sets the final state. The refresh-status endpoint brings the update, or you get it by webhook.
There is also a sixth, rare state: if the submission breaks off BEFORE the transaction ID arrives, we do not know whether NAV received it. In that case the document goes to NAV reconciliation with its reserved number, and the system clears it up with NAV itself. There is no blind resubmission, because that would duplicate it.
Error codes
Next to the HTTP status you always get a stable code you can branch on in code. The list shows the documented codes, and the shape of the envelope is the same for every error.
| HTTP | Code | Meaning |
|---|---|---|
| 400 | VALIDATION_ERROR | A missing or invalid field in the request. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 403 | KEY_REVOKED | The API key used has been revoked. |
| 403 | INSUFFICIENT_SCOPE | The key is valid, but it lacks the required scope (for example invoice:write). |
| 403 | PLAN_FEATURE_UNAVAILABLE | The feature is not in the plan. details.requiredFeature / requiredPlan tells you what is missing. |
| 403 | INVOICE_QUOTA_EXCEEDED | The monthly document quota is used up and there is no more prepaid pack. details gives the meter, the quota and the usage. |
| 403 | ORGANIZATION_SUSPENDED | The company is suspended, the account is read only. |
| 404 | NOT_FOUND | The requested resource was not found (or does not belong to this account). |
| 409 | INVOICE_NUMBER_NOT_UNIQUE | The invoice number already exists in the NAV system. |
| 400 | IDEMPOTENCY_KEY_REQUIRED | Issuing an invoice, final invoice, receipt or receipt document with an API key without an Idempotency-Key header. Nothing happened. |
| 409 | IDEMPOTENCY_KEY_CONFLICT | The same Idempotency-Key is still being processed (or ended with an uncertain outcome). First check the result of the earlier request. |
| 409 | NAV_NOT_CONFIGURED | The company's NAV technical user is missing or cannot be decrypted. |
| 409 | ONBOARDING_INCOMPLETE | The company data and numbering are not final yet. Without them a wrong issuer would be frozen on the invoice. |
| 409 | ACCOUNT_CLOSED | The account is being closed, so it is read only. |
| 422 | NAV_REJECTED | NAV accepted the request but rejected the document data. |
| 429 | RATE_LIMITED | Rate limit exceeded, or too many concurrent (4 per company) or unsettled (100 per company) issues. In the last two cases this request issued no invoice and can be retried with the same Idempotency-Key. The wait time in seconds is in the Retry-After header and also in the details.retryAfter field. |
| 502 | VIES_UNAVAILABLE | The EU VIES service (or the member state's database) is temporarily unavailable. |
| 503 | NAV_UNAVAILABLE | NAV is unreachable (network / gateway / 5xx), can be retried. |
| 503 | FX_UNAVAILABLE | The MNB exchange rate service is unavailable. |
| 503 | MAINTENANCE_MODE | Maintenance. 503 + Retry-After, deliberately not 500, so that a machine caller comes back. |
A NAV rejection is NOT an HTTP error
If NAV rejects the document data, the submission succeeds at HTTP level: the response is 200/201, the document status is ABORTED, and the reasons come in the errors array of the response. NAV can report several reasons at once, we return all of them (the older error field carries the first reason, for backward compatibility). NAV's original message and code are always kept, and explanation and action are our human explanation and the concrete next step. The same structure is used for the non-blocking warnings items.
{
"id": "MK-2026-000413",
"status": "ABORTED",
"errors": [
{
"code": "INCORRECT_HEAD_DATA_CUSTOMER_TAXPAYERID",
"message": "…a NAV eredeti üzenete…",
"explanation": "A vevő adószáma nem szerepel a NAV nyilvántartásában.",
"action": "Ellenőrizd a vevő adószámát, majd küldd be újra.",
"known": true
}
]
}Webhooks
NAV processing is asynchronous. If you do not want to write polling, add a webhook target in the logged-in app (API keys page): when the final state is reached we POST a signed JSON to it. We generate the signing secret and show it once. Setting up targets is a session operation, it cannot be changed with an API key.
POST /a-te-vegpontod HTTP/1.1 Content-Type: application/json X-Webhook-Event: invoice.finalized X-Webhook-Id: 8f3c1a2b4d5e6f70 X-Webhook-Timestamp: 1780000000 X-Webhook-Signature: sha256=9f86d081884c7d659a2feaa0c55ad015… { "event": "invoice.finalized", "invoiceNumber": "MK-2026-000413", "status": "done", "transactionId": "M0DS5JXAP2FU7L", "gross": 129540.0, "currency": "HUF", "issuedAt": "2026-06-08", "warnings": [], "errors": [], "metadata": { "orderId": "W-1001", "product": "webshop" }, "channel": "webshop", "timestamp": "2026-06-08T09:14:22+00:00" }
The request comes from the Cloudflare network, there is no fixed sender address, so IP-based filtering cannot be used: the signature proves authenticity. The address must be public, we recommend port 443.
Several products, several targets. A company can have several webhook targets, each with its own signing secret. API keys can be bound to a target: notifications for invoices issued with a bound key (and their storno or modifier) go to that key's target, everything else goes to the default target. The metadata field of the payload is the issuing request's object and channel is the key's source label, so the receiver can also split notifications in its own system.
Verifying on the receiving side
1. Signature. Recompute the HMAC-SHA256 over the raw request body with the shared secret, and compare it with the X-Webhook-Signature header using a constant-time comparison. The format is sha256=<hex>.
2. Replay window. X-Webhook-Timestamp (unix epoch, seconds) may differ from your own clock by at most ±5 minutes, so drop a request outside the window.
3. Deduplication. Store X-Webhook-Id for a short time, and drop a repeated ID. We retry a failed delivery with exponential backoff (30 s, 60 s, 120 s… for up to an hour), so the same event can arrive more than once.
Full flow: from issuing to the PDF
Three calls, in the same language: issuing the invoice, querying the NAV state (if you do not use a webhook), and finally downloading the frozen A4 invoice image.
curl -X POST 'https://api.billfox.hu/v1/invoices' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ -H 'Idempotency-Key: 7c1f-44a2-9e08' \ -H 'Content-Type: application/json' \ -d '{ "buyer": { "name": "Kovács Bt.", "taxNumber": "24896713-2-42" }, "fulfillmentDate": "2026-06-04", "paymentMethod": "TRANSFER", "currency": "HUF", "items": [ { "name": "Háromfogásos menü", "quantity": 12, "unit": "fő", "unitPriceNet": 8500, "vatRate": 27 } ], "submitToNav": true }'
curl -X POST 'https://api.billfox.hu/v1/invoices/MK-2026-000413/refresh-status' \ -H 'Authorization: Bearer bfx_live_••••a91Fx'
curl -X GET 'https://api.billfox.hu/v1/invoices/MK-2026-000413/pdf' \ -H 'Authorization: Bearer bfx_live_••••a91Fx' \ --output szamla.pdf
Sandbox: a free practice system
You need no live data and no payment to develop.
The practice system sends to the NAV test system, not to live, and it is a completely separate system: it runs on a separate address, with separate registration, separate data, separate subscription and separate numbering. It does not touch your live account, and nothing syncs between the two. The sandbox account does not expire, it stays next to the live one. The examples above show the live host and prefix. In the sandbox only these two differ.
| Environment | API host | Key prefix |
|---|---|---|
| live | api.billfox.hu | bfx_live_ |
| sandbox | api-sandbox.billfox.hu | bfx_test_ |
Billing: API access is included in every plan, there is no key limit. The monthly free document quota (Free 10 · Plus 50 · Premium unlimited) applies to issuing on the web, while a document issued over the API runs on a separate meter that has no built-in quota: it is paid per document (a prepaid pack or month-end settlement). Nothing is issued live in the sandbox, so developing there costs nothing.

