mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
update sample data
This commit is contained in:
parent
e3135a8e99
commit
519bb57368
4101
tests/Feature/Import/invoices.json
Normal file
4101
tests/Feature/Import/invoices.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,152 +1,103 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"Invoice": {
|
"Invoice": {
|
||||||
"TxnDate": "2014-09-19",
|
"AllowIPNPayment": false,
|
||||||
|
"AllowOnlinePayment": false,
|
||||||
|
"AllowOnlineCreditCardPayment": false,
|
||||||
|
"AllowOnlineACHPayment": false,
|
||||||
"domain": "QBO",
|
"domain": "QBO",
|
||||||
"PrintStatus": "NeedToPrint",
|
"sparse": false,
|
||||||
"SalesTermRef": {
|
"Id": "34",
|
||||||
"value": "3"
|
"SyncToken": "0",
|
||||||
|
"MetaData": {
|
||||||
|
"CreateTime": "2024-06-17T11:09:08-07:00",
|
||||||
|
"LastModifiedByRef": {
|
||||||
|
"value": "9341452725837119"
|
||||||
},
|
},
|
||||||
"TotalAmt": 362.07,
|
"LastUpdatedTime": "2024-06-17T11:09:08-07:00"
|
||||||
|
},
|
||||||
|
"CustomField": [],
|
||||||
|
"DocNumber": "1010",
|
||||||
|
"TxnDate": "2024-06-17",
|
||||||
|
"CurrencyRef": {
|
||||||
|
"value": "USD",
|
||||||
|
"name": "United States Dollar"
|
||||||
|
},
|
||||||
|
"LinkedTxn": [],
|
||||||
"Line": [
|
"Line": [
|
||||||
{
|
{
|
||||||
"Description": "Rock Fountain",
|
"Id": "1",
|
||||||
"DetailType": "SalesItemLineDetail",
|
|
||||||
"SalesItemLineDetail": {
|
|
||||||
"TaxCodeRef": {
|
|
||||||
"value": "TAX"
|
|
||||||
},
|
|
||||||
"Qty": 1,
|
|
||||||
"UnitPrice": 275,
|
|
||||||
"ItemRef": {
|
|
||||||
"name": "Rock Fountain",
|
|
||||||
"value": "5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"LineNum": 1,
|
"LineNum": 1,
|
||||||
"Amount": 275.0,
|
"Description": "Custom Design",
|
||||||
"Id": "1"
|
"Amount": 375,
|
||||||
},
|
|
||||||
{
|
|
||||||
"Description": "Fountain Pump",
|
|
||||||
"DetailType": "SalesItemLineDetail",
|
"DetailType": "SalesItemLineDetail",
|
||||||
"SalesItemLineDetail": {
|
"SalesItemLineDetail": {
|
||||||
"TaxCodeRef": {
|
|
||||||
"value": "TAX"
|
|
||||||
},
|
|
||||||
"Qty": 1,
|
|
||||||
"UnitPrice": 12.75,
|
|
||||||
"ItemRef": {
|
"ItemRef": {
|
||||||
"name": "Pump",
|
"value": "4",
|
||||||
"value": "11"
|
"name": "Design"
|
||||||
}
|
|
||||||
},
|
|
||||||
"LineNum": 2,
|
|
||||||
"Amount": 12.75,
|
|
||||||
"Id": "2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Description": "Concrete for fountain installation",
|
|
||||||
"DetailType": "SalesItemLineDetail",
|
|
||||||
"SalesItemLineDetail": {
|
|
||||||
"TaxCodeRef": {
|
|
||||||
"value": "TAX"
|
|
||||||
},
|
},
|
||||||
|
"UnitPrice": 75,
|
||||||
"Qty": 5,
|
"Qty": 5,
|
||||||
"UnitPrice": 9.5,
|
"ItemAccountRef": {
|
||||||
"ItemRef": {
|
"value": "82",
|
||||||
"name": "Concrete",
|
"name": "Design income"
|
||||||
"value": "3"
|
},
|
||||||
|
"TaxCodeRef": {
|
||||||
|
"value": "NON"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"LineNum": 3,
|
|
||||||
"Amount": 47.5,
|
|
||||||
"Id": "3"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
|
"Amount": 375,
|
||||||
"DetailType": "SubTotalLineDetail",
|
"DetailType": "SubTotalLineDetail",
|
||||||
"Amount": 335.25,
|
|
||||||
"SubTotalLineDetail": {}
|
"SubTotalLineDetail": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"DueDate": "2014-10-19",
|
"TxnTaxDetail": {
|
||||||
"ApplyTaxAfterDiscount": false,
|
"TotalTax": 0
|
||||||
"DocNumber": "1037",
|
},
|
||||||
"sparse": false,
|
"CustomerRef": {
|
||||||
|
"value": "29",
|
||||||
|
"name": "Weiskopf Consulting"
|
||||||
|
},
|
||||||
"CustomerMemo": {
|
"CustomerMemo": {
|
||||||
"value": "Thank you for your business and have a great day!"
|
"value": "Thank you for your business and have a great day!"
|
||||||
},
|
},
|
||||||
"ProjectRef": {
|
"BillAddr": {
|
||||||
"value": "39298045"
|
"Id": "56",
|
||||||
},
|
"Line1": "Nicola Weiskopf",
|
||||||
"Deposit": 0,
|
"Line2": "Weiskopf Consulting",
|
||||||
"Balance": 362.07,
|
"Line3": "45612 Main St.",
|
||||||
"CustomerRef": {
|
"Line4": "Bayshore, CA 94326",
|
||||||
"name": "Sonnenschein Family Store",
|
"Lat": "INVALID",
|
||||||
"value": "24"
|
"Long": "INVALID"
|
||||||
},
|
|
||||||
"TxnTaxDetail": {
|
|
||||||
"TxnTaxCodeRef": {
|
|
||||||
"value": "2"
|
|
||||||
},
|
|
||||||
"TotalTax": 26.82,
|
|
||||||
"TaxLine": [
|
|
||||||
{
|
|
||||||
"DetailType": "TaxLineDetail",
|
|
||||||
"Amount": 26.82,
|
|
||||||
"TaxLineDetail": {
|
|
||||||
"NetAmountTaxable": 335.25,
|
|
||||||
"TaxPercent": 8,
|
|
||||||
"TaxRateRef": {
|
|
||||||
"value": "3"
|
|
||||||
},
|
|
||||||
"PercentBased": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"SyncToken": "0",
|
|
||||||
"LinkedTxn": [
|
|
||||||
{
|
|
||||||
"TxnId": "100",
|
|
||||||
"TxnType": "Estimate"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"BillEmail": {
|
|
||||||
"Address": "Familiystore@intuit.com"
|
|
||||||
},
|
},
|
||||||
"ShipAddr": {
|
"ShipAddr": {
|
||||||
"City": "Middlefield",
|
"Id": "30",
|
||||||
"Line1": "5647 Cypress Hill Ave.",
|
"Line1": "45612 Main St.",
|
||||||
"PostalCode": "94303",
|
"City": "Bayshore",
|
||||||
"Lat": "37.4238562",
|
|
||||||
"Long": "-122.1141681",
|
|
||||||
"CountrySubDivisionCode": "CA",
|
"CountrySubDivisionCode": "CA",
|
||||||
"Id": "25"
|
"PostalCode": "94326",
|
||||||
|
"Lat": "45.256574",
|
||||||
|
"Long": "-66.0943698"
|
||||||
},
|
},
|
||||||
"EmailStatus": "NotSet",
|
"FreeFormAddress": true,
|
||||||
"BillAddr": {
|
"SalesTermRef": {
|
||||||
"Line4": "Middlefield, CA 94303",
|
"value": "3",
|
||||||
"Line3": "5647 Cypress Hill Ave.",
|
"name": "Net 30"
|
||||||
"Line2": "Sonnenschein Family Store",
|
|
||||||
"Line1": "Russ Sonnenschein",
|
|
||||||
"Long": "-122.1141681",
|
|
||||||
"Lat": "37.4238562",
|
|
||||||
"Id": "95"
|
|
||||||
},
|
},
|
||||||
"MetaData": {
|
"DueDate": "2024-07-17",
|
||||||
"CreateTime": "2014-09-19T13:16:17-07:00",
|
"TotalAmt": 375,
|
||||||
"LastUpdatedTime": "2014-09-19T13:16:17-07:00"
|
"ApplyTaxAfterDiscount": false,
|
||||||
|
"PrintStatus": "NotSet",
|
||||||
|
"EmailStatus": "NeedToSend",
|
||||||
|
"BillEmail": {
|
||||||
|
"Address": "Consulting@intuit.com"
|
||||||
},
|
},
|
||||||
"CustomField": [
|
"Balance": 375,
|
||||||
{
|
"DeliveryInfo": {
|
||||||
"DefinitionId": "1",
|
"DeliveryType": "Email"
|
||||||
"StringValue": "102",
|
|
||||||
"Type": "StringType",
|
|
||||||
"Name": "Crew #"
|
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"Id": "130"
|
|
||||||
},
|
},
|
||||||
"time": "2015-07-24T10:48:27.082-07:00"
|
"time": "2015-07-24T10:48:27.082-07:00"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user