curl --request POST \
--url https://app.usequeue.com/api/v1/projects/{project_id}/invoices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invoice_items": [
{
"token": "b4bf704d-ef6e-4c40-856b-d5ace731698bxx",
"amount": 100,
"interval": null,
"quantity": 1,
"frequency": null,
"description": "Item 1"
},
{
"token": "f9fef62c-0fe9-4117-a96a-96502f71c4f1xx",
"amount": 200,
"interval": "month",
"quantity": 1,
"frequency": null,
"description": "Item 2"
}
]
}
'{
"success": true,
"invoice": {
"id": "abc123",
"name": "Invoice May 2025",
"amount": 1500,
"bill_to": "[email protected]",
"bill_from": "[email protected]",
"address": "123 fake st. blvd",
"tax": 7.5,
"payment_terms": "Net 30",
"due": "2025-08-15",
"issued": "2025-07-25",
"payment_method": "wire",
"invoice_number": "INV-1234",
"credit_type": "none",
"recurring_invoice_items": [
{}
],
"invoice_items": [
{}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": {
"username": "Masud",
"email": "[email protected]"
}
}
}curl --request POST \
--url https://app.usequeue.com/api/v1/projects/{project_id}/invoices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invoice_items": [
{
"token": "b4bf704d-ef6e-4c40-856b-d5ace731698bxx",
"amount": 100,
"interval": null,
"quantity": 1,
"frequency": null,
"description": "Item 1"
},
{
"token": "f9fef62c-0fe9-4117-a96a-96502f71c4f1xx",
"amount": 200,
"interval": "month",
"quantity": 1,
"frequency": null,
"description": "Item 2"
}
]
}
'{
"success": true,
"invoice": {
"id": "abc123",
"name": "Invoice May 2025",
"amount": 1500,
"bill_to": "[email protected]",
"bill_from": "[email protected]",
"address": "123 fake st. blvd",
"tax": 7.5,
"payment_terms": "Net 30",
"due": "2025-08-15",
"issued": "2025-07-25",
"payment_method": "wire",
"invoice_number": "INV-1234",
"credit_type": "none",
"recurring_invoice_items": [
{}
],
"invoice_items": [
{}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user": {
"username": "Masud",
"email": "[email protected]"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The body is of type object.
Successful response
true
Show child attributes
"abc123"
"Invoice May 2025"
1500
"123 fake st. blvd"
7.5
"Net 30"
"2025-08-15"
"2025-07-25"
"wire"
"INV-1234"
"none"
Show child attributes
"Masud"