Create offer
POST
/v1/offersCreates an offer (quote) for a customer. It takes the same lines, VAT codes and accounts as POST /v1/invoices, and comes back in the same shape with type: offer. Read offers with GET /v1/invoices?type=offer or GET /v1/invoices/{id}.
An offer is never booked. Its life in Numina:
draft, until it's issued withissue: trueorPOST /v1/offers/{id}/issue, which gives it itsoffer_number.sent, until the customer answers. Email it withPOST /v1/invoices/{id}/send, or download it withGET /v1/invoices/{id}/pdfand send it yourself.acceptedordeclined, set withPOST /v1/offers/{id}/outcome.- An accepted offer becomes an invoice draft with
POST /v1/offers/{id}/invoice.
Retries
Send an Idempotency-Key header, such as a new UUID per request, to retry safely after a timeout or network error.
- Same key and body: you get the original response, with
Idempotent-Replayed: true. - Same key, different body:
422. - Same key while the first request is still running:
409.
Keys belong to the company and are kept for 24 hours after a successful request. A failed request (4xx or 5xx) frees its key, so a retry with that key runs again.
Requires one ofinvoices:writewrite:draftwrite:ledger
Headers
- A unique key for this request, up to 255 characters. A retry with the same key and body returns the original response instead of running again.
Body
application/json
- The customer the offer is for
- Issue date, as
YYYY-MM-DD - Last day the customer can accept, as
YYYY-MM-DD. Numina shows the offer as expired after it. - ISO 4217 currency code. Defaults to
DKK. A currency Numina has no exchange rate for returns400.Default
"DKK" - Exchange rate to DKK: amount × rate = DKK. Leave it out to use Numina's rate for the issue date; the invoice made from the offer is then booked at Numina's rate, like any invoice. A rate you send carries over to that invoice and is kept when it is booked. Ignored for DKK.
- sales_account_numberintegerSales account for lines that don't set their own, from
GET /v1/accounts. Required unless every line has one. - vat_codestringVAT code for lines that don't set their own, such as
U25. Leave it out for no VAT on those lines.GET /v1/vat-codeslists the codes and their rates. - The offer lines. At least one.
+Show 5 child attributesHide child attributes
- Line item description
- Quantity
- Unit price (excl. VAT)
- sales_account_numberintegerSales account for this line, from
GET /v1/accounts. Defaults to the invoice'ssales_account_number. - VAT code for this line, from
GET /v1/vat-codes. Sendnullfor no VAT. If you leave it out, the line uses its sales account's default VAT code, like the invoice editor does, and then the invoice'svat_code.
- Note displayed on the offer
- The customer's own reference, such as their request or purchase order number. Copied to the invoice made from the offer.
- bank_account_idstring (uuid)The bank account shown on the offer and copied to its invoice, from
GET /v1/bank-accounts. Defaults to the account markedis_invoice_default. - issuebooleanIssue the offer right away: it gets an offer number and its status becomes
sent. Nothing is emailed. Defaults tofalse, which saves a draft.Default
false
Errors
400The request is invalid401Missing or invalid credentials403A scope is missing, or the company is archived409A request with the same Idempotency-Key is still being processed422The `Idempotency-Key` was already used for a different request429You're over the rate limit500Something went wrong on our side
Every error has the same shape. See Errors.
curl -X POST https://api.numina.app/v1/offers \
-H "Authorization: Bearer numi_YOUR_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"contact_id": "550e8400-e29b-41d4-a716-446655440000",
"issue_date": "2026-01-15",
"valid_until": "2026-02-15",
"currency": "DKK",
"currency_rate": 7.46,
"sales_account_number": 1000,
"vat_code": "U25",
"items": [
{
"description": "Consulting services",
"quantity": 10,
"unit_price": 1000,
"sales_account_number": 1030,
"vat_code": "U25"
}
],
"memo": "Valid for 30 days",
"order_reference": "PO-2026-0042",
"bank_account_id": "550e8400-e29b-41d4-a716-446655440000",
"issue": true
}'const response = await fetch("https://api.numina.app/v1/offers", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.NUMINA_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"contact_id": "550e8400-e29b-41d4-a716-446655440000",
"issue_date": "2026-01-15",
"valid_until": "2026-02-15",
"currency": "DKK",
"currency_rate": 7.46,
"sales_account_number": 1000,
"vat_code": "U25",
"items": [
{
"description": "Consulting services",
"quantity": 10,
"unit_price": 1000,
"sales_account_number": 1030,
"vat_code": "U25"
}
],
"memo": "Valid for 30 days",
"order_reference": "PO-2026-0042",
"bank_account_id": "550e8400-e29b-41d4-a716-446655440000",
"issue": true
}),
});
const data = await response.json();import uuid
import os
import requests
response = requests.post(
"https://api.numina.app/v1/offers",
headers={
"Authorization": f"Bearer {os.environ['NUMINA_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"contact_id": "550e8400-e29b-41d4-a716-446655440000",
"issue_date": "2026-01-15",
"valid_until": "2026-02-15",
"currency": "DKK",
"currency_rate": 7.46,
"sales_account_number": 1000,
"vat_code": "U25",
"items": [
{
"description": "Consulting services",
"quantity": 10,
"unit_price": 1000,
"sales_account_number": 1030,
"vat_code": "U25"
}
],
"memo": "Valid for 30 days",
"order_reference": "PO-2026-0042",
"bank_account_id": "550e8400-e29b-41d4-a716-446655440000",
"issue": True
},
)
data = response.json()Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"invoice_number": 1001,
"offer_number": 42,
"type": "invoice",
"credited_invoice_id": "550e8400-e29b-41d4-a716-446655440000",
"source_offer_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "sent",
"issue_date": "2026-01-15",
"due_date": "2026-02-15",
"valid_until": "2026-02-15",
"contact_id": "550e8400-e29b-41d4-a716-446655440001",
"contact_name": "Acme ApS",
"currency": "DKK",
"subtotal": 10000,
"vat": 2500,
"vat_rate": 25,
"total": 12500,
"has_mixed_vat": false,
"outstanding_balance": 12500,
"outstanding_balance_currency": "DKK",
"currency_rate": 0,
"delivery_status": "sent",
"email_delivery_status": "string",
"email_sent_at": "string",
"e_invoice_status": "delivered",
"e_invoice_sent_at": "string",
"e_invoice_number": "5790000123456",
"e_invoice_scheme": "GLN",
"attn_person": "Jane Doe",
"order_reference": "PO-2026-0042",
"is_overdue": false,
"payment_state": "open",
"unmatched_payments_note": "string",
"items": [
{
"unit": "string",
"vat_account_id": "string",
"vat_code": "string",
"sales_account_number": 0,
"vat_rate": 0,
"id": "550e8400-e29b-41d4-a716-446655440002",
"description": "Consulting services",
"quantity": 10,
"unit_price": 1000
}
],
"memo": "Project Q1 delivery",
"payment_details": {
"bank_name": "Danske Bank",
"scheme": "dk-registration-number",
"clearing_code": "3409",
"account_number": "0012345678",
"iban": "DK5030000012345678",
"swift_bic": "DABADKKK",
"other_details": null
},
"created_at": "2026-01-15T10:30:00Z"
}