v1

latestOpenAPI 3.1.02026-08-045901.5 MB

View Invoice

get/invoice/{id}

Path parameters

idstring required

The unique identifier for the invoice you want to retrieve.

Response

200

successboolean
metainteger
errorobject[]
messagestring

Example response

{
  "success": true,
  "data": [
    {
      "invoice_id": 3224,
      "invoice_number": "2020-1901",
      "invoice_date": "2020-04-07",
      "validity_date": "2020-05-07",
      "gst_type": 1,
      "seller_info": {
        "business_name": "Verve India",
        "gstin": "25AABCS1429B1ZY",
        "address": {
          "address_line_1": "6 Dhanammal Street",
          "address_line_2": "Spurtank Road, Chetpet",
          "city": "CHENNAI",
          "state": "TAMIL NADU",
          "country": "INDIA",
          "pincode": "600031"
        }
      },
      "customer_info": {
        "id": 2031,
        "name": "Test 4010",
        "email": "test4010@gmail.com",
        "mobile": "8967452310",
        "business_name": "Test Company Pvt Ltd",
        "gstin": "33AAACD1234E1ZX",
        "pos": "TAMIL NADU",
        "billing_details": {
          "bill_city": "Chennai",
          "bill_addr1": "10, Mount Road",
          "bill_addr2": "Anna Salai",
          "bill_state": "TAMIL NADU",
          "bill_company": "Test Company Pvt Ltd",
          "bill_country": "INDIA",
          "bill_pincode": "600002"
        },
        "shipping_details": {
          "ship_city": "Chennai",
          "ship_addr1": "10, Mount Road",
          "ship_addr2": "Anna Salai",
          "ship_state": "TAMIL NADU",
          "ship_company": "Test Company Pvt Ltd",
          "ship_country": "INDIA",
          "ship_pincode": "600002"
        }
      },
      "invoice_item": [
        {
          "id": 4087,
          "product_id": 5,
          "variant_id": "1",
          "item_name": "Private | Standard",
          "item_description": "Private | Standard Service Package",
          "item_type": 2,
          "item_code": "SERV1234",
          "quantity": 1,
          "units": "Service",
          "rate": 7032.2,
          "taxable_amt": 2532.2,
          "non_taxable_amt": 4500,
          "gst_rate": 18,
          "sgst_amt": 227.9,
          "cgst_amt": 227.9,
          "status": 1,
          "tax_info": {
            "nil-rated": "0",
            "zero-rated": "0",
            "non-gst-supply": "0",
            "exempted-supply": "0"
          },
          "discount_rate": "0",
          "discount_type": "percentage",
          "custom_fields": [
            {
              "label": "Reference ID",
              "value": "REF12345"
            }
          ],
          "item_total_amt": 7488
        }
      ],
      "total_taxable_amount": 2532.2,
      "total_non_taxable_amount": 4500,
      "total_gst_amount": 455.8,
      "total_tcs_amount": "0",
      "total_amount": 7488,
      "payable_amount": 5338,
      "added_by": 118373696,
      "added_on": "2020-04-07 12:41:09",
      "invoice_status": 1,
      "payment_info": {
        "rid": "RID897654"
      },
      "paid_amount": 2150,
      "billing_currency": "INR",
      "terms_conditions": "Payment due within 30 days from the date of invoice.",
      "notes": "Thank you for your business!",
      "billing_currency_info": {
        "name": "INR",
        "exchange_rate": "1",
        "exchnage_time": "2020-04-07T12:41:09"
      },
      "bank_id": "0",
      "tax_info": {
        "cgst_amount": 227.9,
        "sgst_amount": 227.9,
        "total_tcs_amt": "0"
      },
      "data_source": 2,
      "auto_mode": 1,
      "added_by_name": "Raja Android",
      "recon_details": {
        "receipt": [
          {
            "id": 1051,
            "receipt_date": "2020-02-11",
            "recon_amount": 2150,
            "receipt_number": "2020-36"
          }
        ]
      },
      "pdf_url": "https://indev.ledgers.cloud/public/print-invoice/S0J2cVV2Um9zRHp2UHpBUG9TTDZFdz09/N1prMGtCOFpMNGJxYldjc003aWhPdz09",
      "bank_details": {
        "bank_name": "HDFC Bank",
        "account_number": "50100233456789",
        "ifsc": "HDFC0001234",
        "branch_name": "Chetpet, Chennai"
      }
    }
  ],
  "message": "Data Fetched Successfully"
}