curl -i -X POST \
https://demo.storm.io/api/1.1/OrderService.svc/rest/InsertInvoice \
-H 'Content-Type: application/json' \
-d '{
"Id": "string",
"InvoiceNo": "string",
"InvoiceDate": "2019-08-24T14:15:22Z",
"InvoiceDueDate": "2019-08-24T14:15:22Z",
"InvoiceText": "string",
"OrderId": "string",
"OrderNo": "string",
"OrderDate": "2019-08-24T14:15:22Z",
"Source": "string",
"DeliveryDate": "2019-08-24T14:15:22Z",
"DeliveryMethod": "string",
"PaymentMethod": "string",
"BillTo": {
"Company": {
"Id": 0,
"No": "string",
"Name": "string",
"OrgNo": "string"
},
"Customer": {
"Id": 0,
"No": "string",
"FirstName": "string",
"LastName": "string",
"SSN": "string",
"Email": "string",
"Phone": "string",
"CellPhone": "string"
},
"Address": {
"Line1": "string",
"Line2": "string",
"CareOf": "string",
"City": "string",
"ZipCode": "string",
"Country": "string",
"CountryCode": "string",
"Region": "string",
"ShippingPhoneNumber": "string",
"GlobalLocationNo": "string"
},
"DropPointCode": "string"
},
"OrderFreight": 0,
"InvoiceCharge": 0,
"InvoiceAmountExVat": 0,
"VatAmount": 0,
"Items": [
{
"RowNumber": 0,
"ItemNo": "string",
"ItemDescription": "string",
"Quantity": 0,
"UnitPrice": 0,
"UnitDiscount": 0,
"RowAmount": 0,
"RowAmountVat": 0,
"DeliveryDate": "2019-08-24T14:15:22Z",
"VatRate": 0,
"UnitPriceIncVat": 0
}
],
"Info": [
{
"Code": "string",
"Name": "string",
"Description": "string",
"Value": "string"
}
],
"InvoiceNoPsp": "string",
"CreditedInvoiceNo": "string",
"IsDebit": true,
"GroupByKey": "string",
"Comment": "string",
"InvoiceAmountIncVat": 0
}'