Get all customer invoices

GET /customer_invoices

Query parameters

  • order_id integer
  • page_size integer
  • page integer
  • start string(date)
  • end string(date)
  • order_type string

    Values are course or product.

Responses

  • 200 application/json

    Get list of invoices

    Hide response attributes Show response attributes object
    • id integer
    • invoice_no integer
    • order_id integer
    • order_type string

      Values are course or product.

    • company_id integer
    • box_id integer
    • faktury_online_error_code integer
    • faktury_online_code string
    • created string(date-time)
    • updated string(date-time)
    • options object
      Hide options attributes Show options attributes object
      • date string(date)
      • text string

        Text of the item on the invoice

      • payment_method string

        Values are hotovost, prevod, karta, or eprovider.

    • invoice_data object
      Hide invoice_data attributes Show invoice_data attributes object
      • d object

        Supplier information

        Hide d attributes Show d attributes object
        • d_name string
        • d_street string
        • d_city string
        • d_state string
        • d_zip string
        • d_ico string
        • d_dic string
        • d_icdph string
        • d_vatpayer string
        • d_viewpayer string
        • d_iban string
        • d_email string
        • d_web string
        • d_phone string
      • o object

        Buyer information

        Hide o attributes Show o attributes object
        • o_name string
        • o_street string
        • o_email string
        • o_phone string
      • f object

        Invoice information

        Hide f attributes Show f attributes object
        • f_number integer
        • f_vs integer
        • f_qr integer
        • f_payment string
        • f_paid integer(float)
        • f_date_issue string(date)
        • f_date_delivery string(date)
      • p array[object]

        Invoice items

        Hide p attributes Show p attributes object
        • p_text string
        • p_quantity integer
        • p_unit string
        • p_price integer(float)
      • key string
      • email string
GET /customer_invoices
curl \
 --request GET 'https://api.zooza.app/v1/customer_invoices'
Response examples (200)
[
  {
    "id": 42,
    "invoice_no": 42,
    "order_id": 42,
    "order_type": "course",
    "company_id": 42,
    "box_id": 42,
    "faktury_online_error_code": 42,
    "faktury_online_code": "string",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "options": {
      "date": "2025-05-04",
      "text": "string",
      "payment_method": "hotovost"
    },
    "invoice_data": {
      "d": {
        "d_name": "string",
        "d_street": "string",
        "d_city": "string",
        "d_state": "string",
        "d_zip": "string",
        "d_ico": "string",
        "d_dic": "string",
        "d_icdph": "string",
        "d_vatpayer": "string",
        "d_viewpayer": "string",
        "d_iban": "string",
        "d_email": "string",
        "d_web": "string",
        "d_phone": "string"
      },
      "o": {
        "o_name": "string",
        "o_street": "string",
        "o_email": "string",
        "o_phone": "string"
      },
      "f": {
        "f_number": 42,
        "f_vs": 42,
        "f_qr": 42,
        "f_payment": "string",
        "f_paid": 42,
        "f_date_issue": "2025-05-04",
        "f_date_delivery": "2025-05-04"
      },
      "p": [
        {
          "p_text": "string",
          "p_quantity": 42,
          "p_unit": "string",
          "p_price": 42
        }
      ],
      "key": "string",
      "email": "string"
    }
  }
]