Shown below is a sample bharat_connect.invoice
object for Fetch Business Data.
{
"id": "bcinv_k3pbaALyh1CmzTPTOToHywYey",
"object": "bharat_connect.invoice",
"type": "OUTGOING"
"supplier_invoice_number": "INV0012312",
"supplier_details": {
"b2b_id": "zwch_1731304320a8b539acf65f1337854926",
"gst_in": "22AAAAA0000A3Z9",
"legal_name": "Open Financial",
"trade_name": "Open Financial",
"email": "[email protected]",
"state_code": "32",
"place_of_supply_code": "",
"address": {
"type": "OTHER",
"address": "RGA Tech park 123",
"city": "Bangalore",
"postal_code": "560035",
"state_code": "",
"state": "KARNATAKA"
}
},
"buyer_details": {
"b2b_id": "zwch_1731046715a8b539acf65f6707494305",
"gst_in": "22AAAAA0000A1H2",
"legal_name": "Surjava Test",
"trade_name": "Surjava Test",
"email": "[email protected]",
"state_code": "06",
"place_of_supply_code": "32",
"address": {
"type": "OTHER",
"address": "RGA Tech park 456",
"city": "Bangalore",
"postal_code": "560035",
"state_code": "",
"state": "KARNATAKA"
}
},
"transaction_detais": {
"supply_type": "B2B",
"reverse_charge_tax": "",
"e_commerce_gstin": "",
"igst_chargable": ""
},
"e_invoice_details": {
"irn": "",
"irn_ts": ""
},
"items_details": [
{
"serial_no": "1",
"is_service": "NO",
"hsn_code": "19059040",
"quantity": 1,
"unit_price": 2,
"total_amount": 2,
"assessment_amount": 2,
"gst_rate": 18,
"total_item_value": 4,
"product_description": "xyz description test"
}
],
"value_details": {
"assessment_value": 4,
"total_invoice_value": 4
},
"supplier_bank_details": {
"vpa": "test@vpa",
"account_type": "",
"bank_account_number": "3307",
"name_of_account_holder": "John Doe",
"bank_ifsc_code": "SBIN0070305",
"bank_name": "SBI"
},
"metadata": {},
"status": "SENT TO BUYER",
"response":{
"status":"SUCCESS",
"message":""
}
}
The table below lists the various parameters in the bharat_connect.invoice
object.
Parameters | Type | Description |
---|---|---|
id | string | Unique identifier for the invoice. Example: bcinv_k3pbaALyh1CmzTPTOToHywYey |
object | string | Type of the object. Example: bharat_connect.invoice |
type | string | Type of the invoice. Example: OUTGOING |
supplier_invoice_number | string | Invoice number provided by the supplier. Example: INV0012312 |
supplier_details | object | Details about the supplier. |
buyer_details | object | Details about the buyer. |
transaction_details | object | Details about the transaction. |
e_invoice_details | object | E-invoice related details. |
items_details | array of objects | List of items in the invoice. |
value_details | object | Summary of the invoice values. |
supplier_bank_details | object | Bank account details of the supplier. |
metadata | object | Additional metadata about the invoice. |
status | string | Current status of the invoice. Example: SENT TO BUYER |
response | object | Response details for the invoice processing. |
Child Object: Supplier Details
The table below lists the various parameters in the supplier_details object which is part of the bharat_connect.invoice
object.
Parameters | Type | Description |
---|---|---|
b2b_id | string | Unique B2B identifier of the supplier. Example: zwch_1731304320a8b539acf65f1337854926 |
gst_in | string | GSTIN of the supplier. Example: 22AAAAA0000A3Z9 |
legal_name | string | Legal name of the supplier. Example: Open Financial |
trade_name | string | Trade name of the supplier. Example: Open Financial |
string | Email address of the supplier. Example: [email protected] | |
state_code | string | State code of the supplier. Example: 32 |
place_of_supply_code | string | Place of supply code. Example: 32 |
address | object | Address of the supplier. |
Child Object: Buyer Details
The table below lists the various parameters in the buyer_details object which is part of the bharat_connect.invoice
object.
Parameters | Type | Description |
---|---|---|
b2b_id | string | Unique B2B identifier of the buyer. Example: zwch_1731046715a8b539acf65f6707494305 |
gst_in | string | GSTIN of the buyer. Example: 22AAAAA0000A1H2 |
legal_name | string | Legal name of the buyer. Example: Surjava Test |
trade_name | string | Trade name of the buyer. Example: Surjava Test |
string | Email address of the buyer. Example: [email protected] | |
state_code | string | State code of the buyer. Example: 06 |
place_of_supply_code | string | Place of supply code. Example: 32 |
address | object | Address of the buyer. |
Child Object: Address (Under Supplier and Buyer Details)
The table below lists the various parameters in the address object which is part of the supplier_details
and buyer_details
object.
Parameters | Type | Description |
---|---|---|
type | string | Type of address. Example: OTHER |
address | string | Full address. Example: RGA Tech park 123 |
city | string | City of the address. Example: Bangalore |
postal_code | string | Postal code of the address. Example: 560035 |
state_code | string | State code. Example: 32 |
state | string | Full state name. Example: KARNATAKA |
Child Object: transaction_details
The table below lists the various parameters in the transaction_details object which is part of the bharat_connect.invoice object.
Parameters | Type | Description |
---|---|---|
supply_type | string | Type of supply. Example: B2B |
reverse_charge_tax | string | Reverse charge tax, if applicable. Example: "" |
e_commerce_gstin | string | E-commerce GSTIN, if applicable. Example: "" |
igst_chargable | string | Indicates if IGST is chargeable. Example: "" |
Child Object: e_invoice_details
The table below lists the various parameters in the e_invoice_details object which is part of the bharat_connect.invoice object.
Parameters | Type | Description |
---|---|---|
irn | string | Invoice Reference Number (IRN). Example: "" |
irn_ts | string | Timestamp of IRN generation. Example: "" |
Child Object: items_details
The table below lists the various parameters in the items_details object which is part of the bharat_connect.invoice object.
Parameters | Type | Description |
---|---|---|
serial_no | string | Serial number of the item. Example: 1 |
is_service | string | Indicates if the item is a service. Example: NO |
hsn_code | string | HSN code of the item. Example: 19059040 |
quantity | integer | Quantity of the item. Example: 1 |
unit_price | integer | Unit price of the item. Example: 2 |
total_amount | integer | Total amount for the item. Example: 2 |
assessment_amount | integer | Assessment amount for the item. Example: 2 |
gst_rate | integer | GST rate applied to the item. Example: 18 |
total_item_value | integer | Total value of the item, including GST. Example: 4 |
product_description | string | Description of the product. Example: xyz description test |
Child Object: response
The table below lists the various parameters in the response object which is part of the bharat_connect.invoice object.
Parameters | Type | Description |
---|---|---|
status | string | Status of the response. Example: SUCCESS |
message | string | Message associated with the response. Example: "" |