curl --request GET \
--url https://api.justpaid.io/api/v1/invoice/ \
--header 'Authorization: Bearer <token>'{
"items": [
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"invoice_status": "draft",
"amount": 1000,
"currency": "USD",
"invoice_number": "INV-2024-001",
"invoice_date": "2024-03-21",
"due_date": "2024-04-21",
"service_start_date": "2024-03-01",
"service_end_date": "2024-03-31",
"description": "Monthly services for March 2024",
"created_at": "2024-03-21T10:00:00Z",
"is_recurring": false,
"from_external_source": false,
"external_source": "stripe",
"external_source_id": "inv_123456",
"payment_link": "https://app.justpaid.ai/portal/inv/123",
"line_items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "<string>",
"description": "<string>",
"flat_fee": 123,
"tax_rate": 123,
"tax_amount": 123,
"tax_name": "<string>",
"discount_amount": 123,
"discount_percent": 123,
"service_start_date": "2023-12-25",
"service_end_date": "2023-12-25",
"display_order": 123
}
],
"file_url": "https://api.justpaid.ai/invoices/123.pdf",
"customer": {
"external_id": "CUST-001",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"contact_name": "<string>",
"email": "<string>",
"additional_emails": [
"<unknown>"
],
"billing_emails": [
"<unknown>"
],
"phone_number": "<string>",
"currency": "<string>",
"tax_id": "<string>"
}
}
],
"count": 123
}Lists invoices with optional filtering.
curl --request GET \
--url https://api.justpaid.io/api/v1/invoice/ \
--header 'Authorization: Bearer <token>'{
"items": [
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"invoice_status": "draft",
"amount": 1000,
"currency": "USD",
"invoice_number": "INV-2024-001",
"invoice_date": "2024-03-21",
"due_date": "2024-04-21",
"service_start_date": "2024-03-01",
"service_end_date": "2024-03-31",
"description": "Monthly services for March 2024",
"created_at": "2024-03-21T10:00:00Z",
"is_recurring": false,
"from_external_source": false,
"external_source": "stripe",
"external_source_id": "inv_123456",
"payment_link": "https://app.justpaid.ai/portal/inv/123",
"line_items": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"unit_price": 123,
"quantity": 123,
"amount": 123,
"currency": "<string>",
"description": "<string>",
"flat_fee": 123,
"tax_rate": 123,
"tax_amount": 123,
"tax_name": "<string>",
"discount_amount": 123,
"discount_percent": 123,
"service_start_date": "2023-12-25",
"service_end_date": "2023-12-25",
"display_order": 123
}
],
"file_url": "https://api.justpaid.ai/invoices/123.pdf",
"customer": {
"external_id": "CUST-001",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"contact_name": "<string>",
"email": "<string>",
"additional_emails": [
"<unknown>"
],
"billing_emails": [
"<unknown>"
],
"phone_number": "<string>",
"currency": "<string>",
"tax_id": "<string>"
}
}
],
"count": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter by invoice status (e.g., 'draft', 'sent', 'paid')
Filter by customer UUID
Filter invoices with invoice date greater than or equal to this date
Filter invoices with invoice date less than or equal to this date
Filter invoices with due date greater than or equal to this date
Filter invoices with due date less than or equal to this date
Filter invoices with amount greater than or equal to this value
Filter invoices with amount less than or equal to this value
Number of results to return per page
Number of results to skip
List of invoices retrieved successfully
Show child attributes
The unique identifier for the invoice
"123e4567-e89b-12d3-a456-426614174000"
The current status of the invoice
"draft"
The total amount due for the invoice
1000
The currency code for the invoice
"USD"
The unique invoice number
"INV-2024-001"
The date when the invoice was created
"2024-03-21"
The date by which the invoice must be paid
"2024-04-21"
The start date of the service period
"2024-03-01"
The end date of the service period
"2024-03-31"
A description of the invoice
"Monthly services for March 2024"
The timestamp when the invoice was created
"2024-03-21T10:00:00Z"
Indicates if this is a recurring invoice
false
Indicates if the invoice was created from an external source
false
The name of the external source if applicable
"stripe"
The ID of the invoice in the external system
"inv_123456"
URL where the customer can pay this invoice
"https://app.justpaid.ai/portal/inv/123"
List of line items included in this invoice
Show child attributes
2553The description of the line item
Fixed flat fee added to the line item amount
255The date the service starts for the item
The date the service ends for the item
The order in which the line item will be displayed in the UI/pdf
URL to download the invoice PDF
"https://api.justpaid.ai/invoices/123.pdf"
Details of the customer associated with this invoice
Show child attributes
An optional external identifier for the customer. This can be used to link the customer to an external system.
"CUST-001"
Customer name
100The name of the contact person
100100A list of additional customer email addresses
Billing email addresses
Customer phone number with country code
203Customer tax id
25Was this page helpful?