Commerce Data Interchange Format
Standard behind the semantic blockchain.
EDI on Blockchain
JSON-LinkedData as CDIF
{
"@context": "http://schema.org/",
"@type": "Invoice",
"provider": { #Optionally details are included for the first time invoices between B2B
"@type": "Organization",
"@id": "0x131783612317312678316238172376",
"address": {
"@type": "PostalAddress",
"@id": "0x131783612317312678316238172376",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98052",
"streetAddress": "20341 Whitworth Institute 405 N. Whitworth"
},
"employee": {
"@type": "Person",
"@id": "0x131783612317312678316238172376",
"name": "Jane Doe - Point of Contact"
},
"email": "mailto:[email protected]",
"name": "Divum Labs Pvt. Ltd.",
"telephone": "(425) 123-4567",
"faxNumber":"(425) 123-4569"
},
"customer": { #Optionally details are included for the first time invoices between B2B
"@type": "Organization",
"@id": "0x131783612317312678316238172376",
"address": {
"@type": "PostalAddress",
"@id": "0x131783612317312678316238172376",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98052",
"streetAddress": "20341 Whitworth Institute 405 N. Whitworth"
},
"employee": {
"@type": "Person",
"@id": "0x131783612317312678316238172376",
"name": "Jane Doe - Point of Contact"
},
"email": "mailto:[email protected]",
"name": "Customer of this Receipt Inc.",
"telephone": "(425) 123-7654",
"faxNumber": "(425) 123-7659"
},
"referencesOrder": {
"@type": "Order",
"orderDate": "2014-12-01",
"orderNumber": "123ABC", # receipt / document id. As it is autogenerated, this field will be missing in txn argument
"paymentMethod": "#ByInvoice",
"orderedItem": [
{
"@type": "OrderItem",
"@id": "<receiptId>_<index>", // managed by events handler
"orderQuantity": 1,
"orderedItem": {
"@type": "Product",
"@id": "0x131783612317312678316238172376",
"name": "Sony 101.4 cm TV",
"mpn": 101, //Optional
"productID": "sony123",
"gtin8": "", //Unique id for product....
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": 44999,
"priceValidUntil": "2020-11-05", //Optinal
"itemCondition": "NewCondition", //Optinal
"availability": "InStock",//Optinal
}
}
},
# Second Item
{
"@type": "OrderItem",
"@id": "<receiptId>_<index>", // managed by events handler
"orderQuantity": 2,
"orderedItem": {
"@type": "Product",
"@id": "0x131783612317312678316238172376",
"name": "Samsung 101.4 cm TV",
"mpn": 101, //Optional
"productID": "sam123",
"gtin8": "", //Unique id for product....
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": 44999,
"priceValidUntil": "2020-11-05", //Optinal
"itemCondition": "NewCondition" //Optinal
}
}
}
]
},
"minimumPaymentDue": {
"@type": "PriceSpecification",
"price": 44999000,
"priceCurrency": "USD"
},
"totalPaymentDue": {
"@type": "PriceSpecification",
"price": 44999000,
"priceCurrency": "USD"
}
}ERP Integration
Knowledge Extension
External References
Last updated
Was this helpful?