[ { "Website": "www.referenceourcomp.com", "Deposit": "0", "AllowIPNPayment": "false", "AllowOnlinePayment": "false", "AllowOnlineCreditCardPayment": "false", "AllowOnlineACHPayment": "false", "EInvoiceStatus": null, "ECloudStatusTimeStamp": null, "InvoiceEx": null, "AutoDocNumber": null, "CustomerRef": "8", "CustomerName": "Sasha Tillou", "CustomerMemo": "Thank you for your business and have a great day!", "sales_data": [ { "item": "Facebook", "quantity": 1, "sale_price": 154.99, "cost": 124.99, "date": "2019-01-01" }, { "item": "Twitter", "quantity": 2, "sale_price": 114.99, "cost": 104, "date": "2018-12-21" }, { "item": "Instagram", "quantity": 5, "sale_price": 52.99, "cost": 43, "date": "2019-01-06" }, { "item": "Google", "quantity": 2, "sale_price": 12.99, "cost": 11.5, "date": "2019-01-02" }, { "item": "Bing", "quantity": 3, "sale_price": 14.99, "cost": 10, "date": "2018-12-15" }, { "item": "PDF Generator API", "quantity": 4, "sale_price": 164.99, "cost": 142, "date": "2019-01-17" }, { "item": "Others", "quantity": 2, "sale_price": 114.99, "cost": 101, "date": "2019-01-12" } ], "line_items": [ { "name": "Social networking sites", "price": "4,080.00", "total": "8,160.00", "items": [ { "identifier": "Facebook" }, { "identifier": "Twitter" }, { "identifier": "Instagram" } ], "quantity": 3 }, { "name": "SEO", "price": "2,060.00", "total": "2,060.00", "items": [ { "identifier": "Google" }, { "identifier": "Bing" } ], "quantity": 2 } ], "BillAddr": { "Id": "94", "Line1": "Sasha Tillou\nFreeman Sporting Goods\n370 Easy St.\nMiddlefield, CA 94482", "Line2": null, "Line3": null, "Line4": null, "Line5": null, "City": null, "Country": null, "CountryCode": null, "CountrySubDivisionCode": null, "PostalCode": null, "PostalCodeSuffix": null, "Lat": "INVALID", "Long": "INVALID", "Tag": null, "Note": null }, "ShipAddr": { "Id": "8", "Line1": "370 Easy St.", "Line2": null, "Line3": null, "Line4": null, "Line5": null, "City": "Middlefield", "Country": null, "CountryCode": null, "CountrySubDivisionCode": "CA", "PostalCode": "94482", "PostalCodeSuffix": null, "Lat": "37.4031672", "Long": "-122.0642815", "Tag": null, "Note": null }, "RemitToRef": null, "ClassRef": null, "SalesTermRef": "3", "DueDate": "2020-03-09", "SalesRepRef": null, "PONumber": null, "FOB": null, "ShipMethodRef": null, "ShipDate": null, "TrackingNum": null, "GlobalTaxCalculation": null, "TotalAmt": "477.50", "HomeTotalAmt": null, "ApplyTaxAfterDiscount": "false", "TemplateRef": null, "PrintStatus": "NeedToPrint", "EmailStatus": "NotSet", "BillEmail": { "Id": null, "Address": "Sporting_goods@intuit.com", "Default": null, "Tag": null }, "ARAccountRef": null, "Balance": "477.50", "FinanceCharge": null, "PaymentMethodRef": null, "PaymentRefNum": null, "PaymentType": null, "CheckPayment": null, "CreditCardPayment": null, "DepositToAccountRef": null, "DeliveryInfo": null, "DocNumber": "1036", "TxnDate": "2015-02-07", "DepartmentRef": null, "CurrencyRef": null, "ExchangeRate": null, "PrivateNote": null, "TxnStatus": null, "LinkedTxn": null, "CustomField": { "DefinitionId": "1", "Name": "Crew #", "Type": "StringType", "StringValue": "105", "BooleanValue": null, "DateValue": null, "NumberValue": null }, "CompanyInfo": { "CompanyName": "My Company Name", "LegalName": "My Company Name", "CompanyAddr": { "Id": "1", "Line1": "123 Sierra Way", "Line2": null, "Line3": null, "Line4": null, "Line5": null, "City": "San Pablo", "Country": null, "CountryCode": null, "CountrySubDivisionCode": "CA", "PostalCode": "87999", "PostalCodeSuffix": null, "Lat": "36.6788345", "Long": "-5.4464622", "Tag": null, "Note": null }, "CustomerCommunicationAddr": { "Id": "1", "Line1": "123 Sierra Way", "Line2": null, "Line3": null, "Line4": null, "Line5": null, "City": "San Pablo", "Country": null, "CountryCode": null, "CountrySubDivisionCode": "CA", "PostalCode": "87999", "PostalCodeSuffix": null, "Lat": "36.6788345", "Long": "-5.4464622", "Tag": null, "Note": null }, "LegalAddr": { "Id": "1", "Line1": "123 Sierra Way", "Line2": null, "Line3": null, "Line4": null, "Line5": null, "City": "San Pablo", "Country": null, "CountryCode": null, "CountrySubDivisionCode": "CA", "PostalCode": "87999", "PostalCodeSuffix": null, "Lat": "36.6788345", "Long": "-5.4464622", "Tag": null, "Note": null } } } ]