Log In

List all Charges on an Invoice

get/public/v1/invoices/{invoice}/charges

Requires finance access.

Accepts every filter[...] parameter GET /charges accepts, applied within this collection.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • invoicestringrequired

    The invoice UUID

  • sortstring

    Sort the results. Prefix with '-' for descending. One of: date. Defaults to date ascending.

    Example:-date
  • page[size]integer

    Number of results per page. Minimum 1, maximum 100.

    Default:25
  • page[number]integer

    The page number to retrieve. Use the last_page value from the meta response to determine the total number of pages available.

    Default:1

Response

200application/json

Paginated set of ChargeResource

  • dataobject[]required
    ▶Show 17 child attributes
    • idstringrequired
      Example:c1h2a3r4-g5e6-47f8-9a0b-1c2d3e4f5a6b
    • datestringrequired
      Example:2024-01-15T10:30:00+00:00
    • service_timezoneenum<string>required
      Available options:Australia/AdelaideAustralia/BrisbaneAustralia/Broken_HillAustralia/DarwinAustralia/EuclaAustralia/HobartAustralia/LindemanAustralia/Lord_HoweAustralia/MelbourneAustralia/PerthAustralia/Sydney
    • sourceenum<string>required
      Available options:direct_chargesupporttask
    • creation_typeenum<string> | nullrequired
      Available options:automanual
    • quantitynumber | nullrequired
      Example:1.5
    • is_primarybooleanrequired
      Example:true
    • is_billablebooleanrequired
      Example:true
    • unit_costintegerrequired
      Example:5000
    • total_costintegerrequired
      Example:7500
    • statusenum<string>required
      Available options:draftpending
    • claim_typeenum<string>required
      Available options:CANCDirectIRSSNF2FREPWTHLTTRAN
    • cancellation_reasonenum<string> | nullrequired
      Available options:NSDFNSDHNSDONSDT
    • claim_referencestring | nullrequired
      Example:CLM-123456
    • descriptionstring | nullrequired
      Example:Travel to appointment
    • support_item_numberstringrequired
      Example:07_002_0106_8_3
    • siteobject | nullrequired
      ▶Show 2 child attributes
      • idstringrequired
        Example:s1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
      • namestringrequired
        Example:Main Street House
  • metaobjectrequired
    ▶Show 5 child attributes
    • current_pageintegerrequired≥ 1
    • last_pageintegerrequired≥ 1
    • per_pageintegerrequired≥ 0

      Number of items shown per page.

    • totalintegerrequired≥ 0

      Total number of items being paginated.

    • allowed_sortsstring[]required

      The list of allowed sorts for this endpoint.

  • 401Unauthenticated
  • 403Authorization error
  • 404Not found