AI ready
Open in Claude (opens in a new tab)View as Markdown

List invoices

GET/invoices

Use this to reconcile your bills, newest first. Owner tokens only.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
billing:read
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • limitintegerOptional

    How many objects to return, 1 to 100. Default 20.

    Default 20min 1, max 100
  • cursorstringOptional

    The nextCursor of the previous page. Valid for 24 hours, with the same filters.

    max length 512
  • statusstringOptional

    Only invoices with this status.

    One ofopenpart_paidoverduepaidcancelled
  • serviceIdstring (uuid)Optional

    Only invoices with a line for this service.

  • Clouduxe-VersionstringOptional

    The API version to use, such as 2026-12-01. Omit it to use your token's version.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

Returns

200OK A page of invoices.

  • objectstringRequired

    Always "list".

  • dataarray of InvoiceRequired

    The objects on this page.

    Show 24 child attributesHide 24 child attributes
    • objectstringRequired

      The object's type. Always "invoice".

    • idstring (uuid)Required

      The invoice's id.

    • numberstringRequired

      The printed number, such as C-INV-02731 (credit notes: C-CN-).

    • documentTypestringRequired

      invoice (a tax invoice), credit_note, or free (a zero-value document).

      One ofinvoicecredit_notefree
    • statusstring or nullRequired

      open, part_paid, overdue, paid or cancelled (settled by a credit note). Null for a credit note.

      One ofopenpart_paidoverduepaidcancelled
    • currencystringRequired

      The invoice's currency.

      pattern ^[A-Z]{3}$
    • issuedAtstring (date-time)Required

      When it was issued.

    • issueDatestring (date)Required

      The date printed as the date of issue.

    • dueDatestring (date)Required

      The due date.

    • subtotalobjectRequired

      Before discount and tax.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • discountobjectRequired

      Discounts.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • taxobjectRequired

      Tax in total.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • taxBreakdownobject or nullRequired

      The GST split for an Indian invoice; null otherwise.

      Show 3 child attributesHide 3 child attributes
      • cgstobject or nullRequired

        Central GST, or null.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • sgstobject or nullRequired

        State GST, or null.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • igstobject or nullRequired

        Integrated GST, or null.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
    • totalobjectRequired

      The invoice total.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • amountPaidobject or nullRequired

      Paid so far. Null for a credit note.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • amountCreditedobject or nullRequired

      Settled by credit notes. Null for a credit note.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • amountDueobject or nullRequired

      Still due. Null for a credit note.

      Show 2 child attributesHide 2 child attributes
      • amountintegerRequired

        The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

        min -9007199254740991, max 9007199254740991
      • currencystringRequired

        The ISO 4217 currency code, upper case.

        pattern ^[A-Z]{3}$
    • paidAtstring (date-time) or nullRequired

      When it was paid in full, or null.

    • buyerGstinstring or nullRequired

      Your GSTIN as printed, or null.

    • placeOfSupplyobject or nullRequired

      The place of supply, for GST.

      Show 2 child attributesHide 2 child attributes
      • countrystringRequired

        ISO 3166-1 alpha-2.

      • gstStatestring or nullRequired

        The Indian GST state code, or null.

    • linesarray of InvoiceLineRequired

      The invoice's lines. Empty in listInvoices; filled by getInvoice.

      Show 11 child attributesHide 11 child attributes
      • idstring (uuid)Required

        The line's id.

      • descriptionstringRequired

        What the line is for.

      • quantityintegerRequired

        The quantity.

      • unitAmountobjectRequired

        The price of one unit, excluding tax.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • discountobject or nullRequired

        The line's discount, or null.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • netobjectRequired

        After discount, before tax.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • taxRateBpintegerRequired

        The tax rate in basis points (1800 is 18%).

      • taxobjectRequired

        The line's tax.

        Show 2 child attributesHide 2 child attributes
        • amountintegerRequired

          The amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.

          min -9007199254740991, max 9007199254740991
        • currencystringRequired

          The ISO 4217 currency code, upper case.

          pattern ^[A-Z]{3}$
      • serviceIdstring (uuid) or nullRequired

        The service the line bills, or null.

      • periodStartstring (date) or nullRequired

        The first day billed, or null.

      • periodEndstring (date) or nullRequired

        The last day billed, or null.

    • orderIdstring (uuid) or nullRequired

      The order this invoice was issued for, or null.

    • creditsInvoiceIdstring (uuid) or nullRequired

      For a credit note: the invoice it credits. Null otherwise.

    • livemodebooleanRequired

      True for objects of your live account.

  • hasMorebooleanRequired

    True when there are more objects after this page. A page can hold fewer than limit objects while hasMore is true: keep following nextCursor.

  • nextCursorstring or nullRequired

    Pass this as cursor to get the next page. Null when hasMore is false.

Every response

  • 200OKA page of invoices.
  • 400Bad requestThe request is not valid. Codes: cursor_invalid, version_invalid, parameter_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: unavailable.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.