Tuhund - Purchase Invoice Details API

API # : 8045 | API Name : purchaseinvoice

Module : Procurement

Get details of an existing Purchase Invoice.

URL : <domain>/apic/purchaseinvoice
Methods Allowed : POST

Payload Schema :

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "description": "Purchase Invoice ID."
        }
    },
    "required": [
      "id"
    ] 
  }       
}
Sample Payload :
{
  "id": "rKeEGD" 
}
Response Schema :
{
  "type": "object",
  "description": "Purchase invoice details including master information, addresses, bank account information and invoice line items.",
  "properties": {
    "purinid": {
      "type": "string",
      "description": "Unique identifier of the purchase invoice."
    },
    "branchid": {
      "type": "string",
      "description": "Identifier of the branch associated with the purchase invoice."
    },
    "recordnumber": {
      "type": "string",
      "description": "Record number of the purchase invoice."
    },
    "cinumber": {
      "type": "string",
      "description": "Purchase invoice number."
    },
    "cidate": {
      "type": "string",
      "description": "Date of the purchase invoice."
    },
    "companyid": {
      "type": "string",
      "description": "Unique identifier of the company associated with the purchase invoice."
    },
    "fagentid": {
      "type": "string",
      "description": "Identifier of the freight agent associated with the purchase invoice."
    },
    "ecomaggregatorid": {
      "type": "string",
      "description": "Identifier of the e-commerce aggregator associated with the purchase invoice."
    },
    "createddate": {
      "type": "string",
      "description": "Date on which the purchase invoice record was created."
    },
    "reference": {
      "type": "string",
      "description": "Reference associated with the purchase invoice."
    },
    "billingaddressid": {
      "type": "string",
      "description": "Identifier of the billing address."
    },
    "shippingaddressid": {
      "type": "string",
      "description": "Identifier of the shipping address."
    },
    "deliveryaddressid": {
      "type": "string",
      "description": "Identifier of the delivery address."
    },
    "shipmentterms": {
      "type": "string",
      "description": "Shipment or delivery terms applicable to the purchase invoice."
    },
    "currency": {
      "type": "string",
      "description": "Currency in which the purchase invoice is denominated."
    },
    "exchange": {
      "type": "number",
      "description": "Exchange rate applicable to the purchase invoice."
    },
    "lexchange": {
      "type": "number",
      "description": "Local currency exchange rate applicable to the purchase invoice."
    },
    "bankaccountid": {
      "type": "string",
      "description": "Identifier of the bank account associated with the purchase invoice."
    },
    "raisedby": {
      "type": "string",
      "description": "Identifier of the user who raised the purchase invoice."
    },
    "approvedby": {
      "type": "string",
      "description": "Identifier of the user who approved the purchase invoice."
    },
    "dispatch": {
      "type": "integer",
      "description": "Dispatch status or dispatch indicator associated with the purchase invoice."
    },
    "freight": {
      "type": "number",
      "description": "Freight charges associated with the purchase invoice."
    },
    "othercharges": {
      "type": "number",
      "description": "Other charges included in the purchase invoice."
    },
    "taxtype": {
      "type": "integer",
      "description": "Tax type applicable to the purchase invoice."
    },
    "status": {
      "type": "integer",
      "description": "Current status of the purchase invoice."
    },
    "accountstatus": {
      "type": "integer",
      "description": "Accounting status of the purchase invoice."
    },
    "deliverystatus": {
      "type": "integer",
      "description": "Current delivery status of the purchase invoice."
    },
    "discount": {
      "type": "number",
      "description": "Discount amount applied to the purchase invoice."
    },
    "adiscount": {
      "type": "number",
      "description": "Additional discount amount applied to the purchase invoice."
    },
    "type": {
      "type": "integer",
      "description": "Type of purchase invoice."
    },
    "roundoff": {
      "type": "number",
      "description": "Rounding adjustment applied to the purchase invoice."
    },
    "agentid": {
      "type": "string",
      "description": "Identifier of the agent associated with the purchase invoice."
    },
    "cafagentid": {
      "type": "string",
      "description": "Identifier of the CAF agent associated with the purchase invoice."
    },
    "ltype": {
      "type": "integer",
      "description": "Local transaction type of the purchase invoice."
    },
    "lid": {
      "type": "string",
      "description": "Identifier associated with the local transaction."
    },
    "eid": {
      "type": "string",
      "description": "External or related entity identifier associated with the purchase invoice."
    },
    "svtid": {
      "type": "string",
      "description": "Identifier of the sales or service tax configuration."
    },
    "sstid": {
      "type": "string",
      "description": "Identifier of the state sales tax or tax configuration."
    },
    "autoround": {
      "type": "boolean",
      "description": "Indicates whether automatic rounding is enabled for the purchase invoice."
    },
    "grosstotal": {
      "type": "number",
      "description": "Gross total amount of the purchase invoice in local currency."
    },
    "nettotal": {
      "type": "number",
      "description": "Net total amount of the purchase invoice in local currency."
    },
    "egrosstotal": {
      "type": "number",
      "description": "Gross total amount of the purchase invoice in the invoice currency."
    },
    "enettotal": {
      "type": "number",
      "description": "Net total amount of the purchase invoice in the invoice currency."
    },
    "tcs": {
      "type": "number",
      "description": "Tax collected at source amount applicable to the purchase invoice."
    },
    "tdsapp": {
      "type": "boolean",
      "description": "Indicates whether tax deducted at source is applicable to the purchase invoice."
    },
    "ptdsrate": {
      "type": "number",
      "description": "Percentage rate of purchase tax deducted at source."
    },
    "ptds": {
      "type": "number",
      "description": "Purchase tax deducted at source amount."
    },
    "attnid": {
      "type": "string",
      "description": "Identifier of the attention or contact record associated with the purchase invoice."
    },
    "basetaxid": {
      "type": "string",
      "description": "Identifier of the base tax configuration."
    },
    "dimensionid": {
      "type": "string",
      "description": "Identifier of the accounting or business dimension associated with the purchase invoice."
    },
    "ewaybillnumber": {
      "type": "string",
      "description": "E-way bill number associated with the purchase invoice."
    },
    "ewaybilldate": {
      "type": "string",
      "description": "Date of the e-way bill."
    },
    "filingcount": {
      "type": "integer",
      "description": "Number of times the purchase invoice has been filed or submitted."
    },
    "duedate": {
      "type": "string",
      "description": "Payment due date of the purchase invoice."
    },
    "portcode": {
      "type": "string",
      "description": "Port code associated with the import shipment."
    },
    "boenumber": {
      "type": "string",
      "description": "Bill of Entry number associated with the purchase invoice."
    },
    "boedate": {
      "type": "string",
      "description": "Date of the Bill of Entry."
    },
    "boevalue": {
      "type": "number",
      "description": "Value declared in the Bill of Entry."
    },
    "customsapp": {
      "type": "boolean",
      "description": "Indicates whether customs processing is applicable to the purchase invoice."
    },
    "baseapp": {
      "type": "boolean",
      "description": "Indicates whether base tax processing is applicable to the purchase invoice."
    },
    "vatapp": {
      "type": "boolean",
      "description": "Indicates whether VAT processing is applicable to the purchase invoice."
    },
    "products": {
      "type": "integer",
      "description": "Number of product items included in the purchase invoice."
    },
    "services": {
      "type": "integer",
      "description": "Number of service items included in the purchase invoice."
    },
    "others": {
      "type": "integer",
      "description": "Number of other items included in the purchase invoice."
    },
    "companyname": {
      "type": "string",
      "description": "Name of the company associated with the purchase invoice."
    },
    "tag": {
      "type": "string",
      "description": "Tag associated with the purchase invoice."
    },
    "shortname": {
      "type": "string",
      "description": "Short name associated with the purchase invoice."
    },
    "bstateid": {
      "type": "string",
      "description": "Identifier of the billing state."
    },
    "bstate": {
      "type": "string",
      "description": "Name of the billing state."
    },
    "bstatecode": {
      "type": "string",
      "description": "Code of the billing state."
    },
    "bstatenumber": {
      "type": "integer",
      "description": "Numeric code of the billing state."
    },
    "bcountrycode": {
      "type": "string",
      "description": "Country code of the billing address."
    },
    "bcountryname": {
      "type": "string",
      "description": "Country name of the billing address."
    },
    "dstateid": {
      "type": "string",
      "description": "Identifier of the delivery state."
    },
    "dstate": {
      "type": "string",
      "description": "Name of the delivery state."
    },
    "dstatecode": {
      "type": "string",
      "description": "Code of the delivery state."
    },
    "dstatenumber": {
      "type": "integer",
      "description": "Numeric code of the delivery state."
    },
    "dcountrycode": {
      "type": "string",
      "description": "Country code of the delivery address."
    },
    "dcountryname": {
      "type": "string",
      "description": "Country name of the delivery address."
    },
    "raisedbyname": {
      "type": "string",
      "description": "Name of the user who raised the purchase invoice."
    },
    "attn": {
      "type": "string",
      "description": "Attention or contact person associated with the purchase invoice."
    },
    "prefixid": {
      "type": "string",
      "description": "Identifier of the numbering prefix used for the purchase invoice."
    },
    "pdftemplateid": {
      "type": "string",
      "description": "Identifier of the PDF template used for the purchase invoice."
    },
    "approvalruleid": {
      "type": "string",
      "description": "Identifier of the approval rule applicable to the purchase invoice."
    },
    "creditdays": {
      "type": "integer",
      "description": "Number of credit days allowed for payment of the purchase invoice."
    },
    "customsfreight": {
      "type": "number",
      "description": "Freight amount considered for customs valuation."
    },
    "customsinsurance": {
      "type": "number",
      "description": "Insurance amount considered for customs valuation."
    },
    "scflag": {
      "type": "boolean",
      "description": "Indicates whether the applicable special customs or supply condition flag is enabled."
    },
    "customsothers": {
      "type": "number",
      "description": "Other charges considered for customs valuation."
    },
    "isimport": {
      "type": "integer",
      "description": "Indicates the import transaction type or import status of the purchase invoice."
    },
    "filingnumber": {
      "type": "string",
      "description": "Filing number associated with the purchase invoice."
    },
    "filingdate": {
      "type": "string",
      "description": "Date on which the purchase invoice was filed."
    },
    "storeid": {
      "type": "string",
      "description": "Identifier of the store associated with the purchase invoice."
    },
    "dispatchstatus": {
      "type": "integer",
      "description": "Current status of dispatch for the purchase invoice."
    },
    "etd": {
      "type": "string",
      "description": "Estimated time or date of dispatch."
    },
    "arrivalstatus": {
      "type": "integer",
      "description": "Current arrival status of the shipment."
    },
    "eta": {
      "type": "string",
      "description": "Estimated time or date of arrival."
    },
    "customtype1": {
      "type": "integer",
      "description": "Customs processing type 1 associated with the purchase invoice."
    },
    "customtype2": {
      "type": "integer",
      "description": "Customs processing type 2 associated with the purchase invoice."
    },
    "customtype3": {
      "type": "integer",
      "description": "Customs processing type 3 associated with the purchase invoice."
    },
    "blnumber": {
      "type": "string",
      "description": "Bill of Lading number associated with the shipment."
    },
    "bldate": {
      "type": "string",
      "description": "Date of the Bill of Lading."
    },
    "packages": {
      "type": "integer",
      "description": "Number of packages associated with the shipment."
    },

    "deliveryaddress": {
      "type": "object",
      "description": "Delivery address associated with the purchase invoice.",
      "properties": {
        "address": {
          "type": "string",
          "description": "Street address of the delivery location."
        },
        "city": {
          "type": "string",
          "description": "City of the delivery location."
        },
        "stateid": {
          "type": "string",
          "description": "Identifier of the delivery state."
        },
        "countrycode": {
          "type": "string",
          "description": "Country code of the delivery location."
        },
        "latitude": {
          "type": "number",
          "description": "Latitude coordinate of the delivery location."
        },
        "postcode": {
          "type": "string",
          "description": "Postal code of the delivery location."
        },
        "countryname": {
          "type": "string",
          "description": "Country name of the delivery location."
        },
        "statecode": {
          "type": "string",
          "description": "State code of the delivery location."
        },
        "addressid": {
          "type": "string",
          "description": "Unique identifier of the delivery address."
        },
        "phone1": {
          "type": "string",
          "description": "Primary phone number associated with the delivery address."
        },
        "statenumber": {
          "type": "string",
          "description": "State number of the delivery location."
        },
        "state": {
          "type": "string",
          "description": "State name of the delivery location."
        },
        "email": {
          "type": "string",
          "description": "Email address associated with the delivery address."
        },
        "longitude": {
          "type": "number",
          "description": "Longitude coordinate of the delivery location."
        }
      }
    },

    "billingaddress": {
      "type": "object",
      "description": "Billing address associated with the purchase invoice.",
      "properties": {
        "stateid": {
          "type": "string",
          "description": "Identifier of the billing state."
        },
        "countrycode": {
          "type": "string",
          "description": "Country code of the billing address."
        },
        "countryname": {
          "type": "string",
          "description": "Country name of the billing address."
        },
        "state": {
          "type": "string",
          "description": "State name of the billing address."
        },
        "statecode": {
          "type": "string",
          "description": "State code of the billing address."
        },
        "addressid": {
          "type": "string",
          "description": "Unique identifier of the billing address."
        }
      }
    },

    "shippingaddress": {
      "type": "object",
      "description": "Shipping address associated with the purchase invoice.",
      "properties": {
        "stateid": {
          "type": "string",
          "description": "Identifier of the shipping state."
        },
        "countrycode": {
          "type": "string",
          "description": "Country code of the shipping address."
        },
        "countryname": {
          "type": "string",
          "description": "Country name of the shipping address."
        },
        "state": {
          "type": "string",
          "description": "State name of the shipping address."
        },
        "statecode": {
          "type": "string",
          "description": "State code of the shipping address."
        },
        "addressid": {
          "type": "string",
          "description": "Unique identifier of the shipping address."
        }
      }
    },

    "bankaccount": {
      "type": "object",
      "description": "Bank account information associated with the purchase invoice.",
      "properties": {
        "mstnumber": {
          "type": "string",
          "description": "Master number associated with the bank account."
        },
        "accountnumber": {
          "type": "string",
          "description": "Bank account number."
        },
        "address": {
          "type": "string",
          "description": "Address associated with the bank account or bank branch."
        },
        "bankaccountid": {
          "type": "string",
          "description": "Unique identifier of the bank account."
        },
        "city": {
          "type": "string",
          "description": "City of the bank branch."
        },
        "stateid": {
          "type": "string",
          "description": "Identifier of the state where the bank branch is located."
        },
        "postcode": {
          "type": "string",
          "description": "Postal code of the bank branch."
        },
        "accounttype": {
          "type": "integer",
          "description": "Type of the bank account."
        },
        "ownerid": {
          "type": "string",
          "description": "Identifier of the owner of the bank account."
        },
        "isprimary": {
          "type": "boolean",
          "description": "Indicates whether the bank account is the primary account."
        },
        "countryid": {
          "type": "string",
          "description": "Identifier of the country where the bank account is maintained."
        },
        "swiftcode": {
          "type": "string",
          "description": "SWIFT or BIC code of the bank branch."
        },
        "accounttitle": {
          "type": "string",
          "description": "Title or name of the bank account."
        },
        "bankname": {
          "type": "string",
          "description": "Name of the bank."
        },
        "tag": {
          "type": "string",
          "description": "Tag associated with the bank account."
        },
        "branchname": {
          "type": "string",
          "description": "Name of the bank branch."
        },
        "status": {
          "type": "integer",
          "description": "Current status of the bank account."
        }
      }
    },
    "branch_data": {
      "type": "object",
      "description": "Branch information of the entity issuing the purchase invoice.",
      "properties": {
        "branchid": {
          "type": "string",
          "description": "Unique identifier of the branch."
        },
        "country": {
          "type": "string",
          "description": "Country code of the branch."
        },
        "city": {
          "type": "string",
          "description": "City in which the branch is located."
        },
        "stateid": {
          "type": "string",
          "description": "Unique identifier of the state."
        },
        "entityid": {
          "type": "string",
          "description": "Unique identifier of the entity associated with the branch."
        },
        "gstnumber": {
          "type": "string",
          "description": "GST registration number of the branch."
        },
        "statecode": {
          "type": "string",
          "description": "State code of the branch."
        },
        "einvoiceon": {
          "type": "boolean",
          "description": "Indicates whether e-invoicing is enabled for the branch."
        },
        "phone1": {
          "type": "string",
          "description": "Primary phone number of the branch."
        },
        "regstatenumber": {
          "type": "string",
          "description": "Registration state number of the branch."
        },
        "regstate": {
          "type": "string",
          "description": "Registration state identifier of the branch."
        },
        "tin": {
          "type": "string",
          "description": "Tax Identification Number of the branch."
        },
        "state": {
          "type": "string",
          "description": "State in which the branch is located."
        },
        "pan": {
          "type": "string",
          "description": "Permanent Account Number of the entity."
        },
        "email": {
          "type": "string",
          "description": "Email address of the branch."
        },
        "branchname": {
          "type": "string",
          "description": "Name of the branch."
        },
        "tan": {
          "type": "string",
          "description": "Tax Deduction and Collection Account Number of the entity."
        },
        "address": {
          "type": "string",
          "description": "Registered address of the branch."
        },
        "regcountry": {
          "type": "string",
          "description": "Registration country code of the branch."
        },
        "postcode": {
          "type": "string",
          "description": "Postal code of the branch."
        },
        "countryname": {
          "type": "string",
          "description": "Name of the country in which the branch is located."
        },
        "shortname": {
          "type": "string",
          "description": "Short name or abbreviation of the branch."
        },
        "statenumber": {
          "type": "string",
          "description": "State registration number of the branch."
        },
        "lbranchname": {
          "type": "string",
          "description": "Long or legal name of the branch or entity."
        },
        "regstatecode": {
          "type": "string",
          "description": "Registration state code of the branch."
        }
      }
    },

    "items": {
      "type": "array",
      "description": "List of product and other line items included in the purchase invoice.",
      "items": {
        "type": "object",
        "description": "Individual line item of the purchase invoice.",
        "properties": {
          "hscode": {
            "type": "string",
            "description": "Harmonized System or customs classification code of the item."
          },
          "productid": {
            "type": "string",
            "description": "Unique identifier of the product."
          },
          "dim3": {
            "type": "number",
            "description": "Third dimension value of the item."
          },
          "keywords": {
            "type": "string",
            "description": "Keywords associated with the product."
          },
          "productdescription": {
            "type": "string",
            "description": "Product description associated with the item."
          },
          "dim2": {
            "type": "number",
            "description": "Second dimension value of the item."
          },
          "dim1": {
            "type": "number",
            "description": "First dimension value of the item."
          },
          "discount": {
            "type": "number",
            "description": "Discount amount applied to the line item."
          },
          "slabid": {
            "type": "string",
            "description": "Identifier of the tax slab applicable to the item."
          },
          "receivedquantity": {
            "type": "number",
            "description": "Quantity of the item already received."
          },
          "prevatamount": {
            "type": "number",
            "description": "Previous or pre-tax amount associated with the item."
          },
          "producttype": {
            "type": "integer",
            "description": "Type of product represented by the line item."
          },
          "customrate1": {
            "type": "number",
            "description": "Customs rate 1 applicable to the item."
          },
          "customrate2": {
            "type": "number",
            "description": "Customs rate 2 applicable to the item."
          },
          "customrate3": {
            "type": "number",
            "description": "Customs rate 3 applicable to the item."
          },
          "customrate4": {
            "type": "number",
            "description": "Customs rate 4 applicable to the item."
          },
          "adiscount": {
            "type": "number",
            "description": "Additional discount amount applied to the line item."
          },
          "basetax": {
            "type": "number",
            "description": "Base tax amount applicable to the item."
          },
          "price": {
            "type": "number",
            "description": "Unit price of the item."
          },
          "discountedprice": {
            "type": "number",
            "description": "Unit price of the item after discount."
          },
          "itc": {
            "type": "integer",
            "description": "Input tax credit indicator or value applicable to the item."
          },
          "packtype": {
            "type": "integer",
            "description": "Package type associated with the item."
          },
          "model": {
            "type": "string",
            "description": "Model of the product."
          },
          "discountedamount": {
            "type": "number",
            "description": "Total discount amount applied to the line item."
          },
          "brand": {
            "type": "string",
            "description": "Brand of the product."
          },
          "accessableamount": {
            "type": "number",
            "description": "Assessable amount of the line item."
          },
          "landingvalue": {
            "type": "number",
            "description": "Landing value of the item."
          },
          "vbrand": {
            "type": "string",
            "description": "Validated or display brand name of the product."
          },
          "unit": {
            "type": "string",
            "description": "Unit of measurement of the item."
          },
          "productnumber": {
            "type": "integer",
            "description": "Product number associated with the item."
          },
          "netvalue": {
            "type": "number",
            "description": "Net value of the line item."
          },
          "cname": {
            "type": "string",
            "description": "Category or classification name of the product."
          },
          "description": {
            "type": "string",
            "description": "Description of the product or line item."
          },
          "itemid": {
            "type": "string",
            "description": "Unique identifier of the invoice line item."
          },
          "productname": {
            "type": "string",
            "description": "Name of the product."
          },
          "categoryid": {
            "type": "string",
            "description": "Identifier of the product category."
          },
          "accessablevalue": {
            "type": "number",
            "description": "Assessable value of the line item."
          },
          "tdsrate": {
            "type": "number",
            "description": "Tax deducted at source rate applicable to the item."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "prevatvalue": {
            "type": "number",
            "description": "Previous or pre-tax value of the item."
          },
          "packquantity": {
            "type": "number",
            "description": "Quantity of units contained in the package."
          },
          "colorname": {
            "type": "string",
            "description": "Color of the product in hexa-decimal color code."
          },
          "hsnid": {
            "type": "string",
            "description": "Identifier of the HSN classification."
          },
          "discountedprice_e": {
            "type": "number",
            "description": "Discounted unit price expressed in the home currency."
          },
          "taxrate1": {
            "type": "number",
            "description": "Tax rate 1 applicable to the item. In GST Systems taxrate1 is SGST."
          },
          "taxrate2": {
            "type": "number",
            "description": "Tax rate 2 applicable to the item. In GST Systems taxrate2 is CGST."
          },
          "taxrate3": {
            "type": "number",
            "description": "Tax rate 3 applicable to the item. In GST Systems taxrate3 is IGST. In VAT systems with e-Invoicing enabled, taxrate3 is VAT."
          },
          "taxrate4": {
            "type": "number",
            "description": "Tax rate 4 applicable to the item. In GST Systems taxrate4 is GST Cess."
          },
          "unitid": {
            "type": "string",
            "description": "Identifier of the unit of measurement."
          },
          "vmodel": {
            "type": "string",
            "description": "Validated or display model name of the product."
          },
          "netamount": {
            "type": "number",
            "description": "Net amount of the line item."
          },
          "pda4": {
            "type": "string",
            "description": "Additional product or item attribute 4."
          }
        }
      }
    }
  }
}

Request Headers :

{
  "device": "MYAPP",
  "Authentication": "YOUR_AUTHENTICATION_CODE"
} 

Request Headers Schema :

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "description": "A short name of your application. Device is mandatory but any value between 3 and 20 characters is accepted.",
      "minLength": 3,
      "maxLength": 20
    },
    "Authentication": {
      "type": "string",
      "description": "Authentication code generated for API call."
    }
  },
  "required": [
    "device",
    "Authentication"
  ]
}
Sample success response :
{
  "purinid": "Ubwspv",
  "branchid": "ENTERPRISE",
  "recordnumber": "TEMP964",
  "cinumber": "PI-2026-000123",
  "cidate": "08/09/2026",
  "companyid": "T3EyvN",
  "fagentid": "FA12345",
  "ecomaggregatorid": "ECOM001",
  "createddate": "08/09/2026",
  "reference": "REF-2026-00123",
  "billingaddressid": "rU3JSB",
  "shippingaddressid": "rU3JSB",
  "deliveryaddressid": "QUwGgQ",
  "shipmentterms": "Local Delivery",
  "currency": "USD",
  "exchange": 95.25,
  "lexchange": 95.25,
  "bankaccountid": "JaUCDX",
  "raisedby": "NFL0Au",
  "approvedby": "USR12345",
  "dispatch": 0,
  "freight": 0,
  "othercharges": 0,
  "taxtype": 5,
  "status": 10,
  "accountstatus": 0,
  "deliverystatus": 0,
  "discount": 0,
  "adiscount": 0,
  "type": 0,
  "roundoff": 0,
  "agentid": "AGT12345",
  "cafagentid": "CAF12345",
  "ltype": 0,
  "lid": "L12345",
  "eid": "E12345",
  "svtid": "SVT12345",
  "sstid": "INTERNATIONALIN",
  "autoround": false,
  "grosstotal": 2663,
  "nettotal": 3791.959,
  "egrosstotal": 310234.75,
  "enettotal": 361184.0625,
  "tcs": 0,
  "tdsapp": false,
  "ptdsrate": 0,
  "ptds": 0,
  "attnid": "ATTN12345",
  "basetaxid": "BTAX12345",
  "dimensionid": "DIM12345",
  "ewaybillnumber": "639123456789",
  "ewaybilldate": "11/08/2026",
  "filingcount": 0,
  "duedate": "08/10/2026",
  "portcode": "INBLR1",
  "boenumber": "2958638",
  "boedate": "08/09/2026",
  "boevalue": 304000,
  "customsapp": true,
  "baseapp": false,
  "vatapp": false,
  "products": 5,
  "services": 0,
  "others": 0,
  "companyname": "Fares Trading and Contracting",
  "tag": "Saudi Operations",
  "shortname": "Fares Trading",
  "bstateid": "9608",
  "bstate": "Eastern Province",
  "bstatecode": "EP",
  "bstatenumber": 0,
  "bcountrycode": "sa",
  "bcountryname": "Saudi Arabia",
  "dstateid": "91012",
  "dstate": "Karnataka",
  "dstatecode": "KA",
  "dstatenumber": 29,
  "dcountrycode": "in",
  "dcountryname": "India",
  "raisedbyname": "Shoukath Ali",
  "attn": "Purchase Department",
  "prefixid": "KAFiXq",
  "pdftemplateid": "ZzlNId",
  "approvalruleid": "w5mxgS",
  "creditdays": 30,
  "customsfreight": 23500,
  "customsinsurance": 2340,
  "scflag": false,
  "customsothers": 0,
  "isimport": 2,
  "filingnumber": "2958638",
  "filingdate": "08/09/2026",
  "storeid": "STORE001",
  "dispatchstatus": 0,
  "etd": "10/09/2026",
  "arrivalstatus": 0,
  "eta": "15/09/2026",
  "customtype1": 2,
  "customtype2": 2,
  "customtype3": 1,
  "blnumber": "RSJ25063172",
  "bldate": "08/09/2026",
  "packages": 5,

  "deliveryaddress": {
    "address": "#4 Alexander Street, Richmond Town",
    "city": "Bengaluru",
    "stateid": "91012",
    "countrycode": "in",
    "latitude": 12.962186813354492,
    "postcode": "560025",
    "countryname": "India",
    "statecode": "KA",
    "addressid": "QUwGgQ",
    "phone1": "+919845911111",
    "statenumber": "29",
    "state": "Karnataka",
    "email": "support@ecsbss.com",
    "longitude": 77.6046371459961
  },

  "billingaddress": {
    "stateid": "9608",
    "countrycode": "sa",
    "countryname": "Saudi Arabia",
    "state": "Eastern Province",
    "statecode": "EP",
    "addressid": "rU3JSB"
  },

  "shippingaddress": {
    "stateid": "9608",
    "countrycode": "sa",
    "countryname": "Saudi Arabia",
    "state": "Eastern Province",
    "statecode": "EP",
    "addressid": "rU3JSB"
  },

  "bankaccount": {
    "mstnumber": "MST-KSA-88421",
    "accountnumber": "784512369874",
    "address": "8467 King Fahd Road, Al Muruj District, Riyadh 12263-2743",
    "bankaccountid": "JaUCDX",
    "city": "Khobar",
    "stateid": "9608",
    "postcode": "34714",
    "accounttype": 1,
    "ownerid": "JaG1YN",
    "isprimary": true,
    "countryid": "sa",
    "swiftcode": "RJHISARIXXX",
    "accounttitle": "BB World Saudi Trading Co",
    "bankname": "Al Rajhi Bank",
    "tag": "Saudi Operations Acc",
    "branchname": "Khobar Main Branch",
    "status": 1
  },

  "items": [
    {
      "hscode": "8517",
      "productid": "P1669352342058",
      "dim3": 0,
      "keywords": "SAMPLE KEYWORDS",
      "productdescription": "Never Settle",
      "dim2": 0,
      "dim1": 0,
      "discount": 0,
      "slabid": "GST18",
      "receivedquantity": 0,
      "prevatamount": 65238.997,
      "producttype": 2,
      "customrate1": 10,
      "customrate2": 10,
      "customrate3": 0,
      "customrate4": 0,
      "adiscount": 0,
      "basetax": 0,
      "price": 280,
      "discountedprice": 280,
      "itc": 0,
      "packtype": 0,
      "model": "NORD",
      "discountedamount": 560,
      "brand": "BROTHER",
      "accessableamount": 58773.872,
      "landingvalue": 26670,
      "vbrand": "BROTHER",
      "unit": "Nos",
      "productnumber": 99014552,
      "netvalue": 38491.0088,
      "cname": "mobile",
      "description": "OnePlus NORD 2",
      "itemid": "1788852093098",
      "productname": "OnePlus NORD 2",
      "categoryid": "dke0fd",
      "accessablevalue": 29386.936,
      "tdsrate": 0,
      "quantity": 2,
      "prevatvalue": 32619.499,
      "packquantity": 0,
      "colorname": "",
      "hsnid": "3Lo6aw",
      "discountedprice_e": 26670,
      "taxrate1": 0,
      "taxrate2": 0,
      "taxrate3": 18,
      "taxrate4": 0,
      "unitid": "t9SmnN",
      "vmodel": "NORD",
      "netamount": 76982.017,
      "pda4": ""
    },
    {
      "hscode": "15119020",
      "productid": "P1787981792094",
      "dim3": 0,
      "keywords": "",
      "productdescription": "Ruchi Gold Palm Oil -1L*10 Pouch",
      "dim2": 0,
      "dim1": 0,
      "discount": 0,
      "slabid": "NFWguV",
      "receivedquantity": 0,
      "prevatamount": 7339.386,
      "producttype": 2,
      "customrate1": 10,
      "customrate2": 10,
      "customrate3": 0,
      "customrate4": 0,
      "adiscount": 0,
      "basetax": 0,
      "price": 21,
      "discountedprice": 21,
      "itc": 0,
      "packtype": 0,
      "model": "PT10",
      "discountedamount": 63,
      "brand": "Ruchi",
      "accessableamount": 6612.06,
      "landingvalue": 2000.25,
      "vbrand": "Ruchi",
      "unit": "BOX",
      "productnumber": 99023506,
      "netvalue": 2886.8254,
      "cname": "palm oil",
      "description": "Ruchi Gold Palm Oil -1L*10 Pouch",
      "itemid": "1788852161696",
      "productname": "Ruchi Gold Palm Oil -1L*10 Pouch",
      "categoryid": "TewdJE",
      "accessablevalue": 2204.02,
      "tdsrate": 0,
      "quantity": 3,
      "prevatvalue": 2446.4622,
      "packquantity": 0,
      "colorname": "",
      "hsnid": "TewI9B",
      "discountedprice_e": 2000.25,
      "taxrate1": 0,
      "taxrate2": 0,
      "taxrate3": 18,
      "taxrate4": 0,
      "unitid": "ldNCNH",
      "vmodel": "PT10",
      "netamount": 8660.476,
      "pda4": ""
    },
    {
      "hscode": "84523090",
      "productid": "P1754552741617",
      "dim3": 0,
      "keywords": "",
      "productdescription": "sewing machine",
      "dim2": 0,
      "dim1": 0,
      "discount": 0,
      "slabid": "GST12",
      "receivedquantity": 0,
      "prevatamount": 81548.747,
      "producttype": 2,
      "customrate1": 10,
      "customrate2": 10,
      "customrate3": 0,
      "customrate4": 0,
      "adiscount": 0,
      "basetax": 0,
      "price": 350,
      "discountedprice": 350,
      "itc": 0,
      "packtype": 0,
      "model": "single needle",
      "discountedamount": 700,
      "brand": "Yamato",
      "accessableamount": 73467.34,
      "landingvalue": 33337.5,
      "vbrand": "Yamato",
      "unit": "Pcs",
      "productnumber": 99022964,
      "netvalue": 45667.2985,
      "cname": "Sewing Machines",
      "description": "arm sew machine",
      "itemid": "1788852217152",
      "productname": "arm sew machine",
      "categoryid": "QZtWzv",
      "accessablevalue": 36733.67,
      "tdsrate": 0,
      "quantity": 2,
      "prevatvalue": 40774.3737,
      "packquantity": 0,
      "colorname": "",
      "hsnid": "H260992",
      "discountedprice_e": 33337.5,
      "taxrate1": 0,
      "taxrate2": 0,
      "taxrate3": 12,
      "taxrate4": 0,
      "unitid": "PIECES",
      "vmodel": "single needle",
      "netamount": 91334.597,
      "pda4": ""
    },
    {
      "hscode": "",
      "productid": "S09091409",
      "dim3": 0,
      "keywords": "",
      "productdescription": "",
      "dim2": 0,
      "dim1": 0,
      "discount": 0,
      "slabid": "",
      "receivedquantity": 0,
      "prevatamount": 97858.496,
      "producttype": 2,
      "customrate1": 10,
      "customrate2": 10,
      "customrate3": 0,
      "customrate4": 0,
      "adiscount": 0,
      "basetax": 0,
      "price": 280,
      "discountedprice": 280,
      "itc": -1,
      "packtype": 0,
      "model": "",
      "discountedamount": 840,
      "brand": "",
      "accessableamount": 88160.808,
      "landingvalue": 26670,
      "vbrand": "",
      "unit": "Nos",
      "productnumber": 99011527,
      "netvalue": 38491.0088,
      "cname": "",
      "description": "13MM DRILLING MACHINE",
      "itemid": "1788852241457",
      "productname": "13MM DRILLING MACHINE",
      "categoryid": "NOCAT",
      "accessablevalue": 29386.936,
      "tdsrate": 0,
      "quantity": 3,
      "prevatvalue": 32619.499,
      "packquantity": 0,
      "colorname": "",
      "hsnid": "",
      "discountedprice_e": 26670,
      "taxrate1": 0,
      "taxrate2": 0,
      "taxrate3": 18,
      "taxrate4": 0,
      "unitid": "t9SmnN",
      "vmodel": "",
      "netamount": 115473.026,
      "pda4": "CONSUMABLES FOR CO2 M/C"
    },
    {
      "hscode": "84519000",
      "productid": "P1756872939628",
      "dim3": 0,
      "keywords": "bajaj",
      "productdescription": "Automatic Washing Machine",
      "dim2": 0,
      "dim1": 0,
      "discount": 0,
      "slabid": "GST18",
      "receivedquantity": 0,
      "prevatamount": 58249.105,
      "producttype": 2,
      "customrate1": 10,
      "customrate2": 10,
      "customrate3": 0,
      "customrate4": 0,
      "adiscount": 0,
      "basetax": 0,
      "price": 250,
      "discountedprice": 250,
      "itc": 0,
      "packtype": 0,
      "model": "SMART 8",
      "discountedamount": 500,
      "brand": "Ascolite",
      "accessableamount": 52476.672,
      "landingvalue": 23812.5,
      "vbrand": "Ascolite",
      "unit": "Pcs",
      "productnumber": 99023027,
      "netvalue": 34366.9725,
      "cname": "machinery",
      "description": "Automatic Washing Machine",
      "itemid": "1788852285279",
      "productname": "Automatic Washing Machine",
      "categoryid": "m1",
      "accessablevalue": 26238.336,
      "tdsrate": 0,
      "quantity": 2,
      "prevatvalue": 29124.553,
      "packquantity": 0,
      "colorname": "",
      "hsnid": "Cx86IO",
      "discountedprice_e": 23812.5,
      "taxrate1": 0,
      "taxrate2": 0,
      "taxrate3": 18,
      "taxrate4": 0,
      "unitid": "PIECES",
      "vmodel": "SMART 8",
      "netamount": 68733.945,
      "pda4": "0020560"
    }
  ]
}
Sample failure response :
{
  "result": -1,
  "message": "Operation failed.",
  "errors": [
    {
      "code": 404,
      "error": "No such record found"
    }
  ]
}
Tuhund Logo
TUHUND®
Home About us Modules CRM HR SALES BI SERVICES MANAGEMENT INVENTORY MANAGEMENT ACCOUNTING AND FINANCE PROCUREMENT PROJECT MANAGEMENT ERP ADMINISTRATION DATA REPOSITORY API & SUB PORTALS Careers Community Blog
M Home Schedule Demo About us Community Blog
CRM HR SALES BI SERVICES MANAGEMENT INVENTORY MANAGEMENT ACCOUNTING AND FINANCE PROCUREMENT PROJECT MANAGEMENT ERP ADMINISTRATION DATA REPOSITORY API & SUB PORTALS Careers
API Documents
Request Demo