Log In

List Charges

get/public/v1/charges

Every charge your organisation has raised, whatever it came from: a support, a task, or a direct charge on a participant. source says which. creation_type says whether Astalty generated the charge or someone added it by hand, and is only set on charges raised from a support - it is null on task and direct charges, and on support charges raised before March 2025. Requires finance access.

date is a UTC instant. A charge's service day is that instant read in its service_timezone, which is the timezone the filter[date_after] and filter[date_before] day boundaries are read in too. Convert date into service_timezone before taking a calendar date from it: the UTC instant falls on the day before the service day for any charge serviced earlier in the morning than that timezone's offset from UTC.

status is draft or pending. A charge raised from a support stays draft until its shifts have been reviewed, and its quantity is still recalculated while it is. Read status before totalling uninvoiced charges.

voided_at is the last time the charge was voided off an invoice, or null if it never has been. Voiding returns a charge to the uninvoiced pool, so a charge that was voided and later re-invoiced keeps this date while sitting on its new invoice - read invoice to tell those apart. filter[voided] reads the same history.

  • Authorizationstringrequired

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

  • filter[source]string

    Only return charges from these sources. Comma separated. One of: support, task, direct_charge.

    Example:direct_charge
  • filter[participant]string

    Only return charges for these participants. Comma separated participant ids.

    Example:p1a2r3t4-i5c6-47p8-9a0b-1c2d3e4f5a6b
  • filter[task]string

    Only return charges raised on these tasks. Comma separated task ids.

    Example:t1a2s3k4-i5d6-47f8-9a0b-1c2d3e4f5a6b
  • filter[support]string

    Only return charges raised on these supports. Comma separated support ids.

    Example:s1u2p3p4-o5r6-47t8-9a0b-1c2d3e4f5a6b
  • filter[invoice]string

    Only return charges on these invoices. Comma separated invoice ids.

    Example:i1n2v3o4-a5b6-47c8-9d0e-1f2a3b4c5d6e
  • filter[invoice_batch]string

    Only return charges in these invoice batches. Comma separated invoice batch ids.

    Example:b1a2t3c4-f5a6-47b8-9c0d-1e2f3a4b5c6d
  • filter[payment]string

    Only return charges a payment has been allocated to. Comma separated payment ids.

    Example:p1a2y3m4-e5n6-47t8-9a0b-1c2d3e4f5a6b
  • filter[date_after]string

    Only return charges serviced on or after this date, inclusive. Format YYYY-MM-DD. The day is read in the charge's service timezone — its support's, or your organisation's.

    Example:2026-01-05
  • filter[date_before]string

    Only return charges serviced on or before this date, inclusive. Format YYYY-MM-DD. The day is read in the charge's service timezone — its support's, or your organisation's.

    Example:2026-01-11
  • filter[voided]boolean

    Set true for charges that have been voided off an invoice, false for charges that never have.

    Example:true
  • filter[invoiced]boolean

    Set true for charges that sit on an invoice, false for charges still to be billed.

    Example:false
  • filter[billable]boolean

    Set true for charges that will be billed to the participant, false for charges marked not billable.

    Example:true
  • filter[charge_item]string

    Only return charges of these charge items. Comma separated charge item ids.

    Example:c1h2a3r4-g5e6-47i8-9b0c-1d2e3f4a5b6c
  • filter[site]string

    Only return charges at these sites. Comma separated site ids.

    Example:s1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6b
  • filter[claim_type]string

    Only return charges claimed under these claim types. Comma separated. One of: Direct, CANC, IRSS, NF2F, REPW, THLT, TRAN.

    Example:TRAN
  • 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