Object

Shown below is a sample bharat_connect.invoice object for Register Business.

{
    "id": "bcinv_k3pbaALyh1CmzTPTOToHywYey",
    "object": "bharat_connect.invoice",
    "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",
        "address": {
            "type": "OTHER",
            "address": "RGA Tech park 123",
            "city": "Bangalore",
            "postal_code": "560035",
            "state": "KARNATAKA"
        },
        "mobile_number":""
    },
    "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": "KARNATAKA"
        }
    },
    "transaction_details": {
        "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.0,
            "unit_price": 2.0,
            "total_amount": 2.0,
            "assessment_amount": 2.0,
            "gst_rate": 18.0,
            "total_item_value": 4.0,
            "product_description": "xyz description test"
        }
    ],
    "supplier_bank_details": {
        "vpa": "test@vpa",
        "bank_account_number": "3307",
        "name_of_account_holder": "John Doe",
        "bank_ifsc_code": "SBIN0070305",
        "bank_name": "SBI"
    },
    "metadata": {},
    "response":{
	    "status":"SUCCESS",
	    "message":""
    }
}

The table below lists the various parameters in the bharat_connect.invoice object.

ParametersTypeDescription
idstringUnique identifier for the invoice. Example: bcinv_k3pbaALyh1CmzTPTOToHywYey.
objectstringType of the object. Example: bharat_connect.invoice.
supplier_invoice_numberstringSupplier's invoice number. Example: INV0012312.
supplier_detailsobjectDetails of the supplier.
buyer_detailsobjectDetails of the buyer.
transaction_detailsobjectDetails of the transaction.
e_invoice_detailsobjectDetails of the e-invoice.
items_detailsarrayArray containing item details.
supplier_bank_detailsobjectDetails of the supplier's bank.
metadataobjectAdditional metadata about the invoice.
responseobjectResponse details for the invoice.

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.

ParametersTypeDescription
b2b_idstringUnique identifier for the supplier. Example: zwch_1731304320a8b539acf65f1337854926.
gst_instringGSTIN of the supplier. Example: 22AAAAA0000A3Z9.
legal_namestringLegal name of the supplier. Example: Open Financial.
trade_namestringTrade name of the supplier. Example: Open Financial.
emailstringEmail of the supplier. Example: [email protected].
state_codestringState code of the supplier. Example: 32.
addressobjectAddress details of the supplier.
mobile_numberstringMobile number of the supplier. Example: "" for empty.

Child Object Supplier Details Address

The table below lists the various parameters in the Supplier Details Address object which is part of the bharat_connect.invoice object.

ParametersTypeDescription
typestringType of address. Example: OTHER.
addressstringFull address. Example: RGA Tech park 123.
citystringCity of the supplier. Example: Bangalore.
postal_codestringPostal code. Example: 560035.
statestringState of the supplier. Example: KARNATAKA.

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.

ParametersTypeDescription
b2b_idstringUnique identifier for the buyer. Example: zwch_1731046715a8b539acf65f6707494305.
gst_instringGSTIN of the buyer. Example: 22AAAAA0000A1H2.
legal_namestringLegal name of the buyer. Example: Surjava Test.
trade_namestringTrade name of the buyer. Example: Surjava Test.
emailstringEmail of the buyer. Example: [email protected].
state_codestringState code of the buyer. Example: 06.
place_of_supply_codestringPlace of supply code. Example: 32.
addressobjectAddress details of the buyer.

Child Object Buyer Details Address

The table below lists the various parameters in the Buyer Details Address object which is part of the bharat_connect.invoice object.

ParametersTypeDescription
typestringType of address. Example: OTHER.
addressstringFull address. Example: RGA Tech park 456.
citystringCity of the buyer. Example: Bangalore.
postal_codestringPostal code. Example: 560035.
statestringState of the buyer. 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.

ParametersTypeDescription
supply_typestringType of supply. Example: B2B.
reverse_charge_taxstringDetails of reverse charge tax. Example: "" for empty.
e_commerce_gstinstringGSTIN of e-commerce operator, if applicable. Example: "" for empty.
igst_chargablestringDetails of IGST charge. Example: "" for empty.

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.

ParametersTypeDescription
irnstringInvoice Reference Number (IRN). Example: "" for empty.
irn_tsstringTimestamp for the IRN generation. Example: "" for empty.

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.

ParametersTypeDescription
serial_nostringSerial number of the item. Example: 1.
is_servicestringIndicates if the item is a service. Example: NO.
hsn_codestringHSN code for the item. Example: 19059040.
quantityfloatQuantity of the item. Example: 1.0.
unit_pricefloatUnit price of the item. Example: 2.0.
total_amountfloatTotal amount for the item. Example: 2.0.
assessment_amountfloatAssessment amount for the item. Example: 2.0.
gst_ratefloatGST rate applicable for the item. Example: 18.0.
total_item_valuefloatTotal item value after taxes. Example: 4.0.
product_descriptionstringDescription of the product. Example: xyz description test.

Child Object Supplier Bank Details Details

The table below lists the various parameters in the Supplier Bank Details object which is part of the bharat_connect.invoice object.

ParametersTypeDescription
vpastringVirtual Payment Address (VPA) of the supplier. Example: test@vpa.
bank_account_numberstringBank account number of the supplier. Example: 3307.
name_of_account_holderstringName of the account holder. Example: John Doe.
bank_ifsc_codestringIFSC code of the supplier's bank. Example: SBIN0070305.
bank_namestringName of the supplier's bank. Example: SBI.

Child Object Metadata

The table below lists the various parameters in the Metadata object which is part of the bharat_connect.invoice object.

ParametersTypeDescription
metadataobjectAdditional metadata for the invoice. Example: {} for empty metadata.

Child Object Response

The table below lists the various parameters in the Response object which is part of the bharat_connect.invoice object.

ParametersTypeDescription
statusstringResponse status of the invoice. Example: SUCCESS.
messagestringAdditional response message. Example: "" for an empty message.