[ { "AutoDocNumber": 1522685, "CustomerRef": "8", "CustomerName": "Sasha Tillou", "CustomerMemo": "Thank you for your business and have a great day!", "sales_data": [ { "item": "January", "quantity": 1, "sale_price": 8160, "date": "2019-01-01" }, { "item": "February", "quantity": 2, "sale_price": 12500, "date": "2018-12-21" }, { "item": "March", "quantity": 5, "sale_price": 10800, "date": "2019-01-06" }, { "item": "April", "quantity": 2, "sale_price": 13160, "date": "2019-01-02" } ], "line_items": [ { "name": "January", "average_price": "4,080.00", "total_price": "8,160.00", "items": [ { "identifier": "Week 1", "sold": "10", "pre-sold": "5", "completed": "3" }, { "identifier": "Week 2", "sold": "12", "pre-sold": "10", "completed": "5" }, { "identifier": "Week 3", "sold": "8", "pre-sold": "1", "completed": "15" }, { "identifier": "Week 4", "sold": "7", "pre-sold": "8", "completed": "10" } ], "quantity": 3 }, { "name": "February", "average_price": "6,710.00", "total_price": "12,500.00", "items": [ { "identifier": "Week 1", "sold": "10", "pre-sold": "1", "completed": "14" }, { "identifier": "Week 2", "sold": "14", "pre-sold": "14", "completed": "13" }, { "identifier": "Week 3", "sold": "17", "pre-sold": "8", "completed": "10" }, { "identifier": "Week 4", "sold": "14", "pre-sold": "12", "completed": "10" } ], "quantity": 3 }, { "name": "March", "average_price": "4,080.00", "total_price": "10,800.00", "items": [ { "identifier": "Week 1", "sold": "11", "pre-sold": "10", "completed": "5" }, { "identifier": "Week 2", "sold": "14", "pre-sold": "11", "completed": "15" }, { "identifier": "Week 3", "sold": "8", "pre-sold": "1", "completed": "8" }, { "identifier": "Week 4", "sold": "14", "pre-sold": "13", "completed": "5" } ], "quantity": 3 }, { "name": "April", "average_price": "4,080.00", "total_price": "13,160.00", "items": [ { "identifier": "Week 1", "sold": "2", "pre-sold": "10", "completed": "4" }, { "identifier": "Week 2", "sold": "12", "pre-sold": "10", "completed": "5" }, { "identifier": "Week 3", "sold": "4", "pre-sold": "11", "completed": "15" }, { "identifier": "Week 4", "sold": "11", "pre-sold": "10", "completed": "7" } ], "quantity": 3 } ], "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 } } } ]