v1

latestOpenAPI 3.1.02026-08-045901.5 MB

View Purchase Invoice

get/purchase-invoice/{id}

Path parameters

idstring required

The unique identifier of the purchase invoice you wish to retrieve. This parameter is required to specify which purchase invoiceto view.

Headers

api-tokenstring

Generate token from authentication api

x-api-keystring

This will shared while register

Response

200

statusinteger

Example response

{
  "status": 200,
  "data": {
    "id": 2965,
    "purchase_number": "JSG7",
    "pur_inv_date": "2026-02-02",
    "due_date": "2026-02-02",
    "bill_number": "2026-2",
    "tax_id1_type": "0",
    "business_info": {
      "id": 406,
      "pos": "TAMIL NADU",
      "city": "chennai",
      "name": "STOCK HOLDING CORPORATION OF INDIA LIMITED",
      "addr1": "ESTAMPING OFFICE, PWD, DIVISION -1",
      "addr2": "NEAR FATIMA CONVENT SCHOOL",
      "email": "branchlive@gmail.com",
      "state": "TAMIL NADU",
      "mobile": "7823956345",
      "tax_no": "25AABCS1429B1ZY",
      "country": "INDIA",
      "pincode": "396220"
    },
    "contact_id": 5129,
    "business_branch_id": 406,
    "seller_name": "New N8N Testing Video",
    "seller_info": {
      "supplier_id": 5129,
      "supplier_name": "New N8N Testing Video",
      "business_country": "india",
      "supplier_country": "LEBANON"
    },
    "billing_details": {
      "bill_city": "chennai",
      "bill_addr1": "ESTAMPING OFFICE, PWD, DIVISION -1",
      "bill_addr2": "NEAR FATIMA CONVENT SCHOOL",
      "bill_state": "TAMIL NADU",
      "bill_company": "Billing Company",
      "bill_country": "INDIA",
      "bill_pincode": "396220"
    },
    "shipping_details": {
      "ship_city": "chennai",
      "ship_addr1": "ESTAMPING OFFICE, PWD, DIVISION -1",
      "ship_addr2": "NEAR FATIMA CONVENT SCHOOL",
      "ship_state": "TAMIL NADU",
      "ship_company": "Shipping Company",
      "ship_country": "INDIA",
      "ship_pincode": "396220"
    },
    "items": [
      {
        "pid": 3451,
        "sku": "78243",
        "vid": 1,
        "rate": 714.2857142857142,
        "units": "BOX-BOX",
        "status": 1,
        "added_by": 1,
        "added_on": "2026-02-02 11:32:06",
        "quantity": 1,
        "cess_type": "flat_value",
        "item_code": "8897",
        "item_name": "Import api | bulkapi",
        "item_type": 1,
        "expense_id": 381,
        "price_type": "0",
        "updated_by": 1,
        "taxable_amt": "714.29",
        "expense_type": "purchase of traded goods",
        "discount_type": "flat_value",
        "item_total_amt": "714.29",
        "non_taxable_amt": "0.00",
        "converted_amount": 714.2857142857142,
        "item_description": "Bulk Api"
      }
    ],
    "pur_inv_others": "[]",
    "currency": "INR",
    "taxable_amount": "714.29",
    "non_taxable_amount": "0",
    "gst_amount": "0",
    "adjust_amount": "0",
    "addvalue_amount": "0",
    "cess_amount": "0",
    "total_amount": "714.29",
    "payable_amount": "714.29",
    "basic_custom_duty": "0",
    "counter_duty": "0",
    "counter_duty_add": "0",
    "gst_tax_credit": "0",
    "added_on": "2026-02-02 17:02:07",
    "added_by": 1501425402,
    "tax_status": 1,
    "invoice_status": 1,
    "status": 1,
    "data_source": 1,
    "ip_address": "162.158.54.137",
    "req_by": "0",
    "apr_by": "[[]]",
    "rec_by": "[[]]",
    "auto_mode": 1,
    "type": 1,
    "currency_info": {
      "to": "INR",
      "from": "INR",
      "currency_rate": "1",
      "converted_amount": 714.2857142857142,
      "currency_default_rate": "1"
    },
    "payment_status": "Unpaid",
    "download_url": "https://in.ledgers.cloud/public/download-purchase-invoice/S0J2cVV2Um9zRHp2UHpBUG9TTDZFdz09/d3oxajRPSTFmSVROTEJMdWxCRjNmUT09",
    "pdf_url": "https://in.ledgers.cloud/public/purchase-invoice/S0J2cVV2Um9zRHp2UHpBUG9TTDZFdz09/d3oxajRPSTFmSVROTEJMdWxCRjNmUT09"
  }
}