List all Charges in an Invoice Batch
get
/public/v1/invoice-batches/{invoiceBatch}/chargesRequires finance access.
Accepts every filter[...] parameter GET /charges accepts, applied within this collection.
invoiceBatchstringrequiredThe invoice batch UUID
sortstringSort the results. Prefix with '-' for descending. One of: date. Defaults to date ascending.
Example:-datepage[size]integerNumber of results per page. Minimum 1, maximum 100.
Default:25page[number]integerThe page number to retrieve. Use the
last_pagevalue from themetaresponse to determine the total number of pages available.Default:1
Response
200application/jsonPaginated set of ChargeResource
dataobject[]required▶Show 17 child attributesHide child attributes
idstringrequiredExample:c1h2a3r4-g5e6-47f8-9a0b-1c2d3e4f5a6bdatestringrequiredExample:2024-01-15T10:30:00+00:00service_timezoneenum<string>requiredAvailable options:Australia/AdelaideAustralia/BrisbaneAustralia/Broken_HillAustralia/DarwinAustralia/EuclaAustralia/HobartAustralia/LindemanAustralia/Lord_HoweAustralia/MelbourneAustralia/PerthAustralia/Sydneysourceenum<string>requiredAvailable options:direct_chargesupporttaskcreation_typeenum<string> | nullrequiredAvailable options:automanualquantitynumber | nullrequiredExample:1.5is_primarybooleanrequiredExample:trueis_billablebooleanrequiredExample:trueunit_costintegerrequiredExample:5000total_costintegerrequiredExample:7500statusenum<string>requiredAvailable options:draftpendingclaim_typeenum<string>requiredAvailable options:CANCDirectIRSSNF2FREPWTHLTTRANcancellation_reasonenum<string> | nullrequiredAvailable options:NSDFNSDHNSDONSDTclaim_referencestring | nullrequiredExample:CLM-123456descriptionstring | nullrequiredExample:Travel to appointmentsupport_item_numberstringrequiredExample:07_002_0106_8_3siteobject | nullrequired▶Show 2 child attributesHide child attributes
idstringrequiredExample:s1a2b3c4-d5e6-47f8-9a0b-1c2d3e4f5a6bnamestringrequiredExample:Main Street House
metaobjectrequired▶Show 5 child attributesHide child attributes
current_pageintegerrequired≥ 1last_pageintegerrequired≥ 1per_pageintegerrequired≥ 0Number of items shown per page.
totalintegerrequired≥ 0Total number of items being paginated.
allowed_sortsstring[]requiredThe list of allowed sorts for this endpoint.
401Unauthenticated403Authorization error404Not found