Skip to main content
POST
/
projects
/
{project_id}
/
invoices
New Invoice
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]"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Query Parameters

bill_to
string
address
string
tax
number
payment_terms
string
due
string
payment_method
string
invoice_number
integer
currency
string
credit_type
boolean

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response

success
boolean
Example:

true

invoice
object