ESDocumentCustomerAccountEnquiry Class |
Namespace: EcommerceStandardsDocuments
The ESDocumentCustomerAccountEnquiry type exposes the following members.
Name | Description | |
---|---|---|
ESDocumentCustomerAccountEnquiry | Constructor |
Name | Description | |
---|---|---|
backOrderRecords | list of Customer Account Enquiry Back Order records. | |
creditRecords | list of Customer Account Enquiry Credit records. | |
invoiceRecords | list of Customer Account Enquiry Invoice records. | |
orderSaleRecords | list of Customer Account Enquiry Order Sale records. | |
paymentRecords | list of Customer Account Enquiry Payment records. | |
quoteRecords | list of Customer Account Enquiry quote records. | |
transactionRecords | list of Customer Account Enquiry Transaction records. |
Name | Description | |
---|---|---|
configs | A dictionary of additional configurations and settings to include with each Ecommerce Standard Document. Typically documents would contain the "dataFields" key that would have a comma delimited list of record properties that are expected to contain data when reading the document's records. Any records not containing data for properties in list could then have the data set to a default when saved to a database. (Inherited from ESDocument.) | |
dataTransferMode | Denotes if the data being placed into document is a complete data set, or partial data being transferred containing only data changes. (Inherited from ESDocument.) | |
message | Message providing details of if the data could be obtained when requesting the document. The message gives meaning to the result status. (Inherited from ESDocument.) | |
RECORD_LINE_TYPE_INVOICE | Record Line Type - Invoice | |
RECORD_LINE_TYPE_ITEM | Record Line Type - Item | |
RECORD_LINE_TYPE_ORDER_SALE | Record Line Type - Sales Order | |
RECORD_LINE_TYPE_TEXT | Record Line Type - Text | |
RECORD_TYPE_BACKORDER | Record Type - Back Order | |
RECORD_TYPE_CREDIT | Record Type - Credit | |
RECORD_TYPE_INVOICE | Record Type - Invoice | |
RECORD_TYPE_ORDER_PURCHASE | Record Type - Purchase Order | |
RECORD_TYPE_ORDER_SALE | Record Type - Sales Order | |
RECORD_TYPE_PAYMENT | Record Type - Payment | |
RECORD_TYPE_QUOTE | Record Type - Payment | |
RECORD_TYPE_TRANSACTION | Record Type - Transaction | |
resultStatus |
Code that denotes if the data could be successfully obtained for the document, and if not why.
See ESDocumentConstants Class for the list of status codes
(Inherited from ESDocument.) | |
totalDataRecords | The total number of records placed within document.
For documents that contain multiple record lists, please check the relevant documentation to see how this number applies.
(Inherited from ESDocument.) | |
version |
Version of the Ecommerce Standards Document.
Verifying the version of the document is critical for systems transferring and manipulating the data.
(Inherited from ESDocument.) |
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry transaction data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 5, "configs": {}, "transactionRecords": [ { "keyTransactionID":"", "transactionID":"", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "currencyCode": "AUD", "description": "Start Balance", "balance": 100.00 }, { "keyTransactionID":"112", "transactionID":"T112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "transactionNumber": "T1113", "creationDate": 1449132083084, "transactionDate": 1449932083084, "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "debitAmount": 110.00, "creditAmount": 0, "balance": -10.00, "description": "Invoice", "language": "EN_AU", "currencyCode": "AUD" }, { "keyTransactionID":"113", "transactionID":"T113", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "transactionNumber": "T1113", "creationDate": 1449132083084, "transactionDate": 1449932083084, "referenceKeyID": "12", "referenceType": "ORDER_SALE", "referenceNumber": "4324234", "debitAmount": 110.00, "creditAmount": 0, "balance": -220.00, "description": "Sales Order", "language": "EN_AU", "currencyCode": "AUD" }, { "keyTransactionID":"114", "transactionID":"T114", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "transactionNumber": "T1114", "creationDate": 1449132083084, "transactionDate": 1449932083084, "referenceKeyID": "124", "referenceType": "CREDIT", "referenceNumber": "654654", "debitAmount": 0, "creditAmount": 330.00, "balance": 110.00, "description": "Credit applied against invoice #1234123", "language": "EN_AU", "currencyCode": "AUD" }, { "keyTransactionID":"115", "transactionID":"T115", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "transactionNumber": "T1115", "creationDate": 1449132083084, "transactionDate": 1449932083084, "referenceKeyID": "114", "referenceType": "PAYMENT", "referenceNumber": "654645445", "debitAmount": 0, "creditAmount": 100.00, "balance": 210.00, "description": "Payment applied to the customer account", "language": "EN_AU", "currencyCode": "AUD" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry invoice data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "invoiceRecords": [ { "keyInvoiceID":"111", "invoiceID":"INVOICE-111", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalPaid": 110.00, "balance": 0 }, { "keyInvoiceID":"112", "invoiceID":"INVOICE-112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "invoiceNumber": "1234123", "creationDate": 1449132083084, "invoiceDate": 1449932083084, "dueDate": 1449932083084, "expectedDeliveryDate": 1449982083084, "deliveredDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "ORDER-123", "referenceType": "ORDER", "referenceNumber": "123-1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry invoice detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "invoiceRecords": [ { "keyInvoiceID":"112", "invoiceID":"INVOICE-112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "invoiceNumber": "1234123", "creationDate": 1449132083084, "invoiceDate": 1449932083084, "dueDate": 1449932083084, "expectedDeliveryDate": 1449982083084, "deliveredDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "ORDER-123", "referenceType": "ORDER", "referenceNumber": "123-1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance", "lines": [ { "keyInvoiceLineID":"11234122" }, { "keyInvoiceLineID":"11234123", "lineItemID":"PROD1234453", "lineItemCode":"PROD-123", "lineType":"ITEM", "description":"Tea Towels", "language":"EN_AU", "unit":"EACH", "quantityOrdered": 22, "quantityDelivered": 22, "quantityBackordered": 0, "priceExTax": 300.00, "priceIncTax": 330.00, "priceTax": 30.00, "totalPriceExTax":6600.00, "totalPriceIncTax": 7260.00, "totalPriceTax": 660, "taxCode":"GST", "keyLocationID":"456", "locationCode":"LCT-456", "currencyCode":"AUD", "referenceLineItemCode":"", "referenceLineCode":"" }, { "keyInvoiceLineID":"11234124", "lineType":"TEXT", "description":"Tea towels are packed into cardboard boxes" } ] } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry sales order data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "orderSaleRecords": [ { "keyOrderSaleID":"11", "orderID":"SALESORDER-11", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "totalExTax": 400.00, "totalIncTax": 440.00, "totalTax": 40.00, "totalPaid": 0, "balance": 440.00 }, { "keyOrderSaleID":"12", "orderID":"SALESORDER-12", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "orderNumber": "4324234", "creationDate": 1449132083084, "orderDate": 1449932083084, "dueDate": 1449932083084, "expectedDeliveryDate": 1449982083084, "deliveredDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry sales order detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "orderSaleRecords": [ { "keyOrderSaleID":"112", "orderID":"SALESORDER-112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "orderNumber": "4324234", "creationDate": 1449132083084, "orderDate": 1449932083084, "dueDate": 1449932083084, "expectedDeliveryDate": 1449982083084, "deliveredDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance", "lines": [ { "keyOrderSaleLineID":"4122" }, { "keyOrderSaleLineID":"4123", "lineItemID":"PROD1234453", "lineItemCode":"PROD-123", "lineType":"ITEM", "description":"Tea Towels", "language":"EN_AU", "unit":"EACH", "quantityOrdered": 22, "quantityDelivered": 22, "quantityBackordered": 0, "priceExTax": 300.00, "priceIncTax": 330.00, "priceTax": 30.00, "totalPriceExTax":6600.00, "totalPriceIncTax": 7260.00, "totalPriceTax": 660, "taxCode":"GST", "keyLocationID":"456", "locationCode":"LCT-456", "currencyCode":"AUD", "referenceLineItemCode":"", "referenceLineCode":"" }, { "keyInvoiceLineID":"11234124", "lineType":"TEXT", "description":"Tea towels are packed into cardboard boxes" } ] } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry credit data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "creditRecords": [ { "keyCreditID":"123", "creditID":"CREDIT-123", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "totalExTax": 400.00, "totalIncTax": 440.00, "totalTax": 40.00, "totalPaid": 0 }, { "keyCreditID":"124", "creditID":"CREDIT-124", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "creditNumber": "654654", "creationDate": 1449132083084, "creditDate": 1449932083084, "appliedAmount": 330.00, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 330.00, "totalIncTax": 300.00, "totalTax": 30.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "language": "EN_AU", "comment": "Credit applied against invoice #1234123" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry credit detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "creditRecords": [ { "keyCreditID":"124", "creditID":"CREDIT-124", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "creditNumber": "654654", "creationDate": 1449132083084, "creditDate": 1449932083084, "appliedAmount": 330.00, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 330.00, "totalIncTax": 300.00, "totalTax": 30.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "language": "EN_AU", "comment": "Credit applied against invoice #1234123", "lines": [ { "keyCreditLineID":"4122" }, { "keyCreditLineID":"4123", "lineItemID":"123123", "lineItemCode":"CREDIT-123123", "lineType":"ITEM", "description":"Tea Towels", "language":"EN_AU", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "unit":"EACH", "quantity": 1, "priceExTax": 300.00, "priceIncTax": 330.00, "priceTax": 30.00, "totalPriceExTax": 300.00, "totalPriceIncTax": 330.00, "totalPriceTax": 30.00, "taxCode":"GST", "currencyCode":"AUD" } ] } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry payment data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "paymentRecords": [ { "keyPaymentID":"113", "paymentID":"PAYMENT-123", "paymentNumber": "654645434", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004" }, { "keyPaymentID":"114", "paymentID":"PAYMENT-124", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "paymentNumber": "654645445", "creationDate": 1449132083084, "paymentDate": 1449932083084, "appliedAmount": 330.00, "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "totalAmount": 100.00, "currencyCode": "AUD", "description": "", "language": "EN_AU", "comment": "Payment applied against invoice #1234123" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry payment detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "paymentRecords": [ { "keyPaymentID":"114", "paymentID":"PAYMENT-124", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "paymentNumber": "654645445", "creationDate": 1449132083084, "paymentDate": 1449932083084, "appliedAmount": 330.00, "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "totalAmount": 100.00, "currencyCode": "AUD", "description": "", "language": "EN_AU", "comment": "Payment applied against invoice #1234123", "lines": [ { "keyPaymentLineID":"4122" }, { "keyPaymentLineID":"4123", "lineItemID":"5435", "lineItemCode":"PAYMENT-5435", "lineType":"ITEM", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "description":"Payment for invoice #1234123", "language":"EN_AU", "currencyCode":"AUD", "amount": 100.00 } ] } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry back order data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "backOrderRecords": [ { "keyBackOrderID":"11", "backOrderID":"SALESORDER-11", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "totalExTax": 400.00, "totalIncTax": 440.00, "totalTax": 40.00, "totalPaid": 0, "balance": 440.00 }, { "keyBackOrderID":"12", "backOrderID":"SALESORDER-12", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "backOrderNumber": "4324234", "creationDate": 1449132083084, "backOrderDate": 1449932083084, "dueDate": 1449932083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "12", "referenceType": "ORDER_SALE", "referenceNumber": "4324234", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "language": "EN_AU", "comment": "Please leave goods by the back entrance" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry back order detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "backOrderRecords": [ { "keyBackOrderID":"112", "backOrderID":"BACKORDER-112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "backOrderNumber": "4324234", "creationDate": 1449132083084, "backOrderDate": 1449932083084, "dueDate": 1449932083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "12", "referenceType": "ORDER_SALE", "referenceNumber": "4324234", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "language": "EN_AU", "comment": "Please leave goods by the back entrance", "lines": [ { "keyBackOrderLineID":"4122" }, { "keyBackOrderLineID":"4123", "lineItemID":"PROD1234453", "lineItemCode":"PROD-123", "lineType":"ITEM", "description":"Tea Towels", "language":"EN_AU", "unit":"EACH", "quantityOrdered": 22, "quantityDelivered": 22, "quantityBackordered": 0, "priceExTax": 300.00, "priceIncTax": 330.00, "priceTax": 30.00, "totalPriceExTax":6600.00, "totalPriceIncTax": 7260.00, "totalPriceTax": 660, "taxCode":"GST", "keyLocationID":"456", "locationCode":"LCT-456", "currencyCode":"AUD", "referenceLineItemCode":"", "referenceLineCode":"" }, { "keyBackOrderLineID":"11234124", "lineType":"TEXT", "description":"Tea towels are packed into cardboard boxes" } ] } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry quote data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 2, "configs":{}, "quoteRecords": [ { "keyQuoteID":"11", "quoteID":"QUOTE-11", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "totalExTax": 400.00, "totalIncTax": 440.00, "totalTax": 40.00, "totalPaid": 0, "balance": 440.00 }, { "keyQuoteID":"12", "quoteID":"QUOTE-12", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "quoteNumber": "4324234", "creationDate": 1449132083084, "quoteDate": 1449932083084, "expiryDate": 1449932083084, "expectedDeliveryDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance" } ] }
{ "version": 1.5, "resultStatus": 1, "message":"The customer account enquiry sales order detail data has been successfully obtained.", "dataTransferMode": "COMPLETE", "totalDataRecords": 1, "configs":{}, "quoteRecords": [ { "keyQuoteID":"112", "quoteID":"QUOTE-112", "keyCustomerAccountID":"222", "customerAccountCode":"CUST004", "quoteNumber": "4324234", "creationDate": 1449132083084, "quoteDate": 1449932083084, "dueDate": 1449932083084, "expiryDate": 1449982083084, "keyLocationID": "456", "locationCode": "LCT-456", "locationLabel": "Warehouse", "locationType": "WAREHOUSE", "referenceKeyID": "112", "referenceType": "INVOICE", "referenceNumber": "1234123", "customerReference": "PO-12345", "salesRepCode": "JD", "salesRepName": "John Doe", "deliveryContact": "Lee", "deliveryOrgName": "Lee's Business Pty Ltd", "deliveryAddress1": "22", "deliveryAddress2": "Bourkie Street", "deliveryAddress3": "Melbourne", "deliveryStateProvince": "Victoria", "deliveryCountry": "Australia", "deliveryCountryCodeISO2": "AU", "deliveryCountryCodeISO3": "AUS", "deliveryPostcode": "3000", "deliveryPurchaseOrderCode": "PO-34342-1", "billingContact": "Tom", "billingOrgName": "Lee's Business Pty Ltd", "billingAddress1": "15", "billingAddress2": "Bourkie Street", "billingAddress3": "Melbourne", "billingStateProvince": "Victoria", "billingCountry": "Australia", "billingCountryCodeISO2": "AU", "billingCountryCodeISO3": "AUS", "billingPostcode": "3000", "taxNumber": "123 12332 123", "taxLabel": "GST", "taxRate": 10, "totalExTax": 100.00, "totalIncTax": 110.00, "totalTax": 10.00, "totalFreightIncTax": 11.00, "totalFreightExTax": 10.00, "totalExtraChargesIncTax": 1.10, "totalExtraChargesExTax": 1.00, "totalDiscountsIncTax": 220.00, "totalDiscountsExTax": 22.00, "totalLeviesIncTax": 22.00, "totalLeviesExTax": 20.00, "totalPaid": 50.00, "balance": 60.00, "currencyCode": "AUD", "totalQuantity": 3, "description": "", "freightCarrierCode": "ACME-FREIGHT-001", "freightCarrierName": "ACME Freight Shippers", "freightSystemRefCode": "SHIP-SYS", "freightCarrierConsignCode": "CON-23124123", "freightCarrierTrackingCode": "34325-25243-24343", "freightCarrierServiceCode": "EXPRESS-24", "freightCarrierAccountCode": "ACME-001", "language": "EN_AU", "comment": "Please leave goods by the back entrance", "lines": [ { "keyOrderSaleLineID":"4122" }, { "keyQuoteLineID":"4123", "lineItemID":"PROD1234453", "lineItemCode":"PROD-123", "lineType":"ITEM", "description":"Tea Towels", "language":"EN_AU", "unit":"EACH", "quantityQuoted": 22, "priceExTax": 300.00, "priceIncTax": 330.00, "priceTax": 30.00, "totalPriceExTax":6600.00, "totalPriceIncTax": 7260.00, "totalPriceTax": 660, "taxCode":"GST", "keyLocationID":"456", "locationCode":"LCT-456", "currencyCode":"AUD", "referenceLineItemCode":"", "referenceLineCode":"" }, { "keyQuoteLineID":"11234124", "lineType":"TEXT", "description":"Tea towels are packed into cardboard boxes" } ] } ] }