> For the complete documentation index, see [llms.txt](https://docs.terminal.africa/tship/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.terminal.africa/tship/reconciliation/get-reconciliation-by-shipment.md).

# Get Reconciliation by Shipment

Fetch the latest reconciliation record raised against a shipment.

## /reconciliation/shipment/:shipment\_id

<mark style="color:blue;">`GET`</mark> `https://api.terminal.africa/v1/reconciliation/shipment/:shipment_id`

This endpoint allows you to retrieve the most recent reconciliation record raised against a shipment.

{% hint style="info" %}
A shipment can have more than one reconciliation record — a record that was priced wrongly is voided and replaced rather than edited. This endpoint returns the **most recently created** record for the shipment. Use [Get Reconciliations](/tship/reconciliation/get-reconciliations.md) if you need the full history.
{% endhint %}

#### Path Parameters

| Name                                           | Type   | Description                                |
| ---------------------------------------------- | ------ | ------------------------------------------ |
| shipment\_id<mark style="color:red;">\*</mark> | String | Unique ***shipment\_id*** of the shipment. |

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Set value to `Bearer SECRET_KEY` |
| Content-Type                                    | String | Set value to `application/json`  |

{% tabs %}
{% tab title="200: OK Reconciliation retrieved successfully." %}

```javascript
{
    "status": true,
    "message": "Reconciliation retrieved successfully",
    "data": {
        "reconcilliation_id": "RC-8TQK2M4XZP71VBDR",
        "shipment_id": "SH-40208776515",
        "platform": "dhl",
        "reconciliation_stage": "delivery",
        "charge_type": "weight",
        "total_old_shipment_cost": 42350,
        "total_new_shipment_cost": 51720,
        "total_exception_charge": 9370,
        "charge_after": null,
        "descripancy_challenged": true,
        "billing_skipped": false,
        "is_charged": false,
        "charged_at": null,
        "transaction_id": "",
        "reversal_transaction_id": "",
        "voided": false,
        "voided_at": null,
        "shipment_data": [
            {
                "shipment_id": "SH-40208776515",
                "shipment_number": "7412089553",
                "carrierName": "DHL Express",
                "platform": "dhl",
                "declared_weight": 2,
                "actual_weight": 3.5,
                "old_shipment_cost": 42350,
                "new_shipment_cost": 51720,
                "exception_charge": 9370,
                "tracking_only": false,
                "reconciliation_stage": "delivery"
            }
        ],
        "created_at": "2026-09-01T06:02:11.903Z",
        "updated_at": "2026-09-03T14:27:55.010Z"
    }
}
```

{% endtab %}

{% tab title="400 Reconciliation not found." %}

```javascript
{
    "status": false,
    "message": "Reconciliation not found for shipment id - SH-00000000000",
    "data": null
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.terminal.africa/tship/reconciliation/get-reconciliation-by-shipment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
