Skip to main content
GET
/
2025-07
/
invoices
/
{invoiceId}
/
transactions
Get transactions by invoiceid
curl --request GET \
  --url https://api.shipbob.com/2025-07/invoices/{invoiceId}/transactions \
  --header 'Authorization: Bearer <token>'
{
  "first": "f8cUk/xJkbeYp2L8oHqxL2hFiGz3qjre",
  "items": [
    {
      "additional_details": {
        "comment": "TestInvoice"
      },
      "amount": 0.09,
      "charge_date": "2025-01-01",
      "currency_code": "USD",
      "fulfillment_center": "Altona VIC",
      "invoice_date": "2025-01-01",
      "invoice_id": 12345,
      "invoice_type": "Shipping",
      "invoiced_status": true,
      "reference_id": "12345",
      "reference_type": "Shipment",
      "taxes": [
        {
          "tax_amount": 0.01,
          "tax_rate": 10,
          "tax_type": "GST"
        }
      ],
      "transaction_fee": "Shipping",
      "transaction_id": "01AN4Z07BY79KA1307SR9X4MV3",
      "transaction_type": "Charge"
    }
  ],
  "last": "f8cUk/xJkbeYp2L8oHqxL2hFiGz3qjqt",
  "next": "f8cUk/xjhyEYp2L8oHqxL2hFiGz3qjqt",
  "prev": "f8cUk/xJkbeYp2L8oHqxL2hFiGz3qjcc"
}

Authorizations

Authorization
string
header
required

Authentication using Personal Access Token (PAT) token

Path Parameters

invoiceId
string<int32>
required

The unique identifier of the invoice whose transactions are to be retrieved Ex:-12345.

Query Parameters

Cursor
string

[Optional] A pagination token used to jump to first, last, next or previous pages. When supplied, it overrides all other filter parameters.

PageSize
number<int32>

Number of transactions to return per page (default is 100, to be entered when API is called for first time). Must be between 1 and 1000.

SortOrder
string

Sort order of the results. Valid values: Ascending or Descending (default: Descending).

Response

Success

first
string | null

Go to the first page

items
object[] | null
last
string | null

Go to the Last page

next
string | null

Go to the Next page

prev
string | null

Go to the Previous page