curl --request POST \
--url http://localhost:3001/api/v1/business/invoices \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"customerName": "John Smith",
"customerEmail": "john@example.com",
"dueAt": "2026-04-16T00:00:00.000Z",
"items": [
{
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"amount": 123
}
],
"customerAddress": "123 Main St, New York, NY 10001",
"customerPhone": "+1234567890",
"taxRate": 0,
"currency": "USD",
"notes": "Payment due within 7 days",
"terms": "Services described above have been delivered as agreed.",
"purpose": "Website development services",
"requireSignature": true,
"nonDisputeClause": "<string>",
"acceptsCard": true,
"acceptsCrypto": false
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"invoiceNumber": "INV-0001",
"status": "DRAFT",
"amount": 123,
"currency": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customerEmail": "<string>",
"customerName": "<string>",
"description": "<string>",
"lineItems": [
{
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"amount": 123
}
],
"dueDate": "2023-11-07T05:31:56Z",
"issuedAt": "2023-11-07T05:31:56Z",
"paidAt": "2023-11-07T05:31:56Z",
"reminderSentAt": "2023-11-07T05:31:56Z",
"signedByName": "<string>",
"signedAt": "2023-11-07T05:31:56Z"
}
}curl --request POST \
--url http://localhost:3001/api/v1/business/invoices \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"customerName": "John Smith",
"customerEmail": "john@example.com",
"dueAt": "2026-04-16T00:00:00.000Z",
"items": [
{
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"amount": 123
}
],
"customerAddress": "123 Main St, New York, NY 10001",
"customerPhone": "+1234567890",
"taxRate": 0,
"currency": "USD",
"notes": "Payment due within 7 days",
"terms": "Services described above have been delivered as agreed.",
"purpose": "Website development services",
"requireSignature": true,
"nonDisputeClause": "<string>",
"acceptsCard": true,
"acceptsCrypto": false
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"invoiceNumber": "INV-0001",
"status": "DRAFT",
"amount": 123,
"currency": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customerEmail": "<string>",
"customerName": "<string>",
"description": "<string>",
"lineItems": [
{
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"amount": 123
}
],
"dueDate": "2023-11-07T05:31:56Z",
"issuedAt": "2023-11-07T05:31:56Z",
"paidAt": "2023-11-07T05:31:56Z",
"reminderSentAt": "2023-11-07T05:31:56Z",
"signedByName": "<string>",
"signedAt": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
"John Smith"
"john@example.com"
Due date
"2026-04-16T00:00:00.000Z"
Show child attributes
"123 Main St, New York, NY 10001"
"+1234567890"
Tax rate as decimal (e.g. 0.075 = 7.5%)
0
"USD"
"Payment due within 7 days"
"Services described above have been delivered as agreed."
"Website development services"
Require customer signature before payment
true
Custom non-dispute clause text
true
false