v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get transaction details using bill number

This API allows you to retrieve transaction details using bill number.

get/transactions/getByBillNumber/{bill_number}

Path parameters

bill_numberstring required

Enter the bill number.

Response

200

Example response

{
  "pagination": {
    "limit": 100,
    "total": 1
  },
  "data": [
    {
      "attribution": {
        "createDate": "2025-02-14T05:44:15Z",
        "createdBy": {
          "id": 75155297,
          "code": "tj_capillary",
          "name": "tj_capillary",
          "type": "TILL",
          "referenceId": -1,
          "adminType": "GENERAL",
          "isActive": true,
          "timeZoneId": 191,
          "currencyId": 95,
          "languageId": 148
        },
        "modifiedBy": {
          "referenceId": -1
        },
        "modifiedDate": "2025-02-14T09:53:23Z"
      },
      "billDetails": {
        "amount": 6000,
        "billingStore": {
          "id": 75152715,
          "code": "doc123",
          "name": "DocStore",
          "type": "STORE",
          "referenceId": -1,
          "adminType": "GENERAL",
          "isActive": true,
          "timeZoneId": 191,
          "currencyId": 95,
          "languageId": 148
        },
        "billNumber": "test00transact053",
        "billingTime": "2025-02-14T05:44:15Z",
        "grossAmount": 6000,
        "note": "This is transaction number 52"
      },
      "source": "instore",
      "customerId": 564703252,
      "deliveryStatus": "DELIVERED",
      "id": 882042894,
      "lineItems": [
        {
          "id": 3996184704,
          "details": {
            "amount": 2000,
            "description": "Steel Bottle",
            "itemCode": "model_id_001",
            "qty": 4,
            "rate": 500,
            "value": 2000,
            "returnable": true,
            "returnableDays": -1
          },
          "outlierStatus": "NORMAL",
          "valid": true
        }
      ],
      "outlierStatus": "NORMAL",
      "type": "REGULAR",
      "autoUpdateTime": "2025-02-14T09:53:23Z",
      "basketSize": 7
    }
  ]
}