Skip to content
MothershipDevelopers

API referenceRebills

Retrieve a rebill

Retrieves a rebill by its ID or reference number, with every line item and its dispute, if it has one.

GET/rebills/{rebillId}
Environment
https://sandbox.api.mothership.com/beta
curl --request GET \
  --url 'https://sandbox.api.mothership.com/beta/rebills/MSSR5016101' \
  --header "Authorization: Bearer $MOTHERSHIP_API_TOKEN" \
  --header 'Accept: application/json'
Reads your token from $MOTHERSHIP_API_TOKEN
Response
{
: {
: "7c9e6679-7425-40de-944b-e07fc1f90ae7",
: "MSSR5016101",
: "disputed",
: "MS5016101",
: "1234567890",
: 23500,
: 1500,
: 25000,
: "usd",
: "2026-03-29T17:00:00.000Z",
: null,
: [
{
: "1b4e28ba-2fa1-4d3b-a3f5-ef19b5a7633b",
: "incorrect-weight",
: "Incorrect Weight",
: 8500,
: "The carrier weighed the freight at its terminal and found it heavier than the weight on the bill of lading, so it billed for the difference.",
: "Weigh each handling unit, packaging included, and enter that weight when you book.",
: "A scale ticket or a photo of the freight on a certified scale showing the weight you booked, taken before pickup.",
: true,
: "2026-03-20T15:12:44.000Z",
: null
},
{
: "6fa459ea-ee8a-4ca4-894e-db77e160355e",
: "detention",
: "Detention",
: 15000,
: "The driver waited at the delivery location beyond the free time the carrier allows.",
: "Make sure the receiver is ready to unload at the scheduled time.",
: "Check-in and check-out times signed by the receiver, or a delivery receipt showing them.",
: true,
: null,
: 9 keys
}
],
: "2026-03-19T17:00:00.000Z",
: "2026-03-22T14:05:31.000Z",
: "2026-03-20T15:12:44.000Z"
}
}

Hover a key to see what it means. Click it to jump to the field.

Pass the rebill's id or its reference number, such as MSSR5016101, in any case. A rebill that doesn't exist or belongs to another organization is a 404 NOT_FOUND.

The response has every line item, with what the carrier charged for and what a dispute of it needs, and the line item's dispute when it has one. Rebills explains each status and line item type.

Authorization: Bearer <token>

Your sandbox API token. See Authentication.

  • rebillIdstringRequired

    The ID of the rebill, or its reference number, such as MSSR5016101

    • dataobjectRequired
      • idstringRequired

        The ID of the rebill

      • referenceNumberstringRequired

        The reference number of the rebill, such as MSSR5016101. A second rebill on the same shipment ends in -2

      • statusstringRequired

        Where the rebill is in its review. The Rebills reference page explains each status.

        scheduleddisputedfinalizedprocessedwaivedvoidedacceptedfailed
      • shipmentIdstringRequired

        The reference number of the shipment the carrier billed for, such as MS5016101

      • proNumberstringRequired

        The carrier's PRO number on the bill

        nullable
      • amountCentsintegerRequired

        The total of the line items in cents

      • processingFeeCentsintegerRequired

        The carrier bill processing fee in cents, or 0 when there is none. It may apply if the rebill is finalized or a dispute is lost

      • totalAmountCentsintegerRequired

        amountCents plus processingFeeCents

      • currencystringRequired

        Three-letter ISO currency code, in lowercase. Always 'usd'.

      • disputableUntilstringRequired

        ISO string of when the review window ends. Until then you can accept or dispute each line item, and after it the rebill is charged as billed

        nullable
      • invoiceIdstringRequired

        The ID of the invoice that charges the rebill, once its review is over. Pass it to Retrieve an invoice. Null before then, and when there is nothing to charge

        nullable
      • lineItemsarray of objectsRequired

        The charges the carrier billed

      • createdAtstringRequired

        ISO string of when the rebill was created

      • updatedAtstringRequired

        ISO string of when the rebill last changed

      • statusUpdatedAtstringRequired

        ISO string of when the status last changed

What's next