Skip to main content
GET
/
invoices
Invoices
curl --request GET \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/invoices \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "status": "<string>",
      "payment_status": "<string>",
      "order_date": "2023-11-07T05:31:56Z",
      "ship_by_date": "2023-11-07T05:31:56Z",
      "approval_status": "<string>",
      "customer_po_number": "<string>",
      "payment_terms": "<string>",
      "public_note": "<string>",
      "private_note": "<string>",
      "total_qty": 123,
      "total_shipping": 123,
      "total_discount": 123,
      "total": 123,
      "total_paid": 123,
      "total_due": 123,
      "warehouse_id": 123,
      "ship_to": {
        "address_1": "<string>",
        "address_2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "zip": "<string>",
        "country": "<string>"
      },
      "quickbooks_invoice_id": "<string>",
      "quickbooks_message": "<string>",
      "customer": {
        "id": 123,
        "name": "<string>",
        "address_1": "<string>",
        "address_2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "zip": "<string>",
        "country": "<string>",
        "phone": "<string>",
        "email": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "items": [
        {
          "id": 123,
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "sku": "<string>",
          "name": "<string>",
          "product_id": 123,
          "qty": 123,
          "unit_price": 123,
          "discount": 123,
          "total": 123
        }
      ],
      "payments": [
        {
          "id": 123,
          "invoice_id": 123,
          "gateway": "<string>",
          "type": "<string>",
          "charge_type": "<string>",
          "amount": 123,
          "date": "2023-11-07T05:31:56Z",
          "status": "<string>",
          "external_id": "<string>",
          "notes": "<string>",
          "reference_id": "<string>",
          "gateway_response": {
            "status": "<string>",
            "code": "<string>",
            "message": "<string>",
            "metadata": "<string>"
          },
          "created_by": 123,
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "deleted_at": "2023-11-07T05:31:56Z"
        }
      ],
      "sales_order": {
        "id": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "status": "<string>",
        "order_id": "<string>",
        "order_number": "<string>",
        "order_date": "2023-12-25",
        "payment_date": "2023-12-25",
        "ship_by_date": "2023-12-25",
        "age": 123,
        "order_status": "<string>",
        "customer_id": "<string>",
        "customer_username": "<string>",
        "customer_email": "<string>",
        "bill_to": {},
        "ship_to": {},
        "requested_shipping_service": "<string>",
        "total": 123,
        "total_paid": 123,
        "total_tax": 123,
        "total_shipping": 123,
        "customer_notes": "<string>",
        "internal_notes": "<string>",
        "ship_date": "2023-12-25",
        "hold_until_date": "2023-12-25",
        "user_id": 123,
        "externally_fulfilled": true,
        "externally_fulfilled_by": "<string>",
        "is_posted": true,
        "posted_by": "<string>",
        "not_sync": true,
        "sales_posted": true,
        "split_order": true,
        "skip_inventory": true,
        "skip_sales_report": true,
        "channel_id": 123,
        "total_order_cost": 123,
        "total_order_quantity": 123,
        "order_cost_details": {},
        "source": "<string>",
        "shipstation_order_id": "<string>",
        "type": "<string>",
        "parent_id": 123,
        "shipping_revenue": 123,
        "product_total": 123,
        "total_discount": 123,
        "picking_status": "<string>",
        "starred_description": "<string>",
        "customer_po_number": "<string>"
      },
      "custom_fields": {
        "Field Name 1": "Some Value"
      },
      "tags": [
        {
          "id": 123,
          "name": "<string>",
          "description": "<string>",
          "icon": "<string>",
          "color": "<string>"
        }
      ]
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 5,
    "per_page": 10,
    "to": 10,
    "total": 50
  }
}

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To obtain a token, contact [email protected]

Query Parameters

page
integer
default:1

Page number for pagination

per_page
integer
default:10

Number of items per page (max 100)

Required range: x <= 100
status
string

Filter by invoice status

sales_order.order_number
string

Filter by sales order number (if sales order is attached to invoice)

payment_status
string

Filter by payment status

approval_status
string

Filter by approval status

customer_po_number
string

Filter by customer PO number

tag
string

Filter by tag name

order_date
string<date>

Filter by order date (YYYY-MM-DD)

ship_by_date
string<date>

Filter by ship by date (YYYY-MM-DD)

created_at
string<date-time>

Filter by creation date (YYYY-MM-DD HH:mm:ss)

updated_at
string<date-time>

Filter by last update date (YYYY-MM-DD HH:mm:ss)

total_qty
number

Filter by total quantity

total
number

Filter by invoice total amount

total_shipping
number

Filter by shipping amount

total_discount
number

Filter by discount amount

total_paid
number

Filter by amount paid

total_due
number

Filter by amount due

custom_fields
object

Filter by custom fields

Response

Successful response

data
object[]
meta
object