Datalake exports
EVA is an event-driven platform. Everything from transactions and returns to stock movements and mutations is logged and registered as an event in real-time. Using the data from these events you can create your own custom dashboards and reports.
Pushing data to a data lake
The most flexible and future-proof way of creating dashboard and reports based on your data, is using a data lake. A data lake is a single store of enterprise data including raw copies of source system data. This setup has multiple benefits over a traditional database or data warehouse:
Scalable Unlike a traditional data warehouse, data lakes offer scalability, typically at lower costs.
Versatile A data lake can store both structured and unstructured data from diverse sources. In other words, it can store XML, logs, multimedia, sensor data, chat, social data, binary, and people data.
Schema Flexibility For traditional schema, you need to have your data in a structured format. Traditional data warehouse products are schema based. But for analytics, this could prove to be a glitch as the data needs to be analyzed in its raw form.
Setting up a data lake, including vendor selection and contracting, is a client responsibility. Of course, New Black can assist in this process. We recommend using a Standard general-purpose v2 Azure storage account.
Setting up your data lake
There are several kinds of data lake integrations possible. These are all described, with their own specific settings, here below. In order to enable the settings, we do need to enable a plugin behind the scenes. Please reach out to your Strategic Lead.
Azure
To set up your data lake, make sure you have a regular V2 Azure storage account. EVA needs your account's information to export your data. The following settings are absolutely necessary:
Setting | Description |
---|---|
Azure:DataLake:AccountName | Azure Account name |
Azure:DataLake:AccountKey | Azure Account Key |
Azure:DataLake:FileSystem | The "container" name in the storage account |
Azure:DataLake:Folder | Desired folder structure, for example: RAW/EVA will create a RAW folder with an EVA subfolder |
Azure:DataLake:ServiceUrl | Your Azure Service URL |
AWS
The following settings apply if you make use of AWS data lake. These settings make use of the same cron jobs to trigger the exports (see Config below), regardless of the Azure name.
Setting | Description |
---|---|
AWS:DataLake:Region | The region where the S3 bucket lives. |
AWS:DataLake:S3Bucket | The name of the S3 bucket to store the files in. |
AWS:DataLake:AccessKey | - |
AWS:DataLake:SecretKey | - |
AWS:DataLake:Folder | (optional) The folder to store the files in the bucket. If not set, we use the root folder. |
Google BigQuery
The following settings apply if you make use of Google BigQuery data lake. These settings make use of the same cron jobs to trigger the exports (see Config below), regardless of the Azure name.
Setting | Description |
---|---|
GCP:DataLake:Bucket | The name of the bucket to store the files in. |
GCP:DataLake:Credential | The credential in JSON format. |
GCP:DataLake:Folder | (optional) The folder to store the files in the bucket. If not set, we use the root folder. |
Data Pack
EVA exports the following data to your data lake:
- Orders
- Financial periods
- Products
- Replenishment products
- Stock
- Stock mutations
- Organization units
- General ledgers
- Prices
- Sales invoices
- Users
- Fulfilment results - to be manually enabled with
DataLake:ExportFulfillmentResults
Event ledgers
Aside from the above list of events, EVA also facilitates the export of event ledgers. Because you might not want your DataLake to be stuffed with event ledgers, you'll need to explicitly enable this by switching DataLake:ExportEventLedger
to true.
Event ledger types
- Login
- Logout
- OrderCreated
- OrderLinesPlaced
- OrderAutoCompleted
- ManualReturnOrderCreated
- PaymentCreated
- PaymentFinalized
- CashDrawerOpened
- CashTransaction
- CashDrawerClosed
- CashDrawerClosedTimeout
- CashDrawerClosingDeviation
- CashDrawerOpeningDeviation
- UserTaskStarted
- UserTaskCompleted
- UserDetachedFromUserTask
- UserTaskIgnored
- DiscountUsed
- ManualDiscountGiven
- InvoiceCreated
- InvoicePrinted
- InvoiceDuplicatePrinted
- InvoiceMailed
- InvoiceDownloaded
- InvoiceArchived
- ReceiptPrinted
- ReceiptDuplicatePrinted
- ReceiptPrintFailed
- ReceiptReprinted
- ReceiptReprintFailed
- MessageTemplateUpdated
- SettingUpdated
- EVAInstanceStarted
- FinancialPeriodClosed
- FinancialReportingPeriodClosed
- FinancialPeriodAuditExported
- FiscalPeriodArchived
- CashExpense
- CashDeposit
- CashCorrection
- CashMovement
- UserAttachedToRole
- UserRemovedFromRole
- FunctionalityAddedToUser
- FunctionalityRemovedFromUser
- FunctionalityAddedToRole
- FunctionalityRemovedFromRole
- OrganizationUnitChanged
- OrganizationUnitCreated
- XReport
- ZReport
- FincialPeriodClosingImpedimentIgnored
Config
Orders, financial periods and sales invoices are exported by default, you can enable the other exports by setting up the following cron tasks:
EVA.DataLake.ExportProducts
EVA.DataLake.ExportReplenishmentProducts
EVA.DataLake.ExportStock
EVA.DataLake.ExportStockMutations
EVA.DataLake.ExportOrganizationUnits
EVA.DataLake.ExportPriceLists
EVA.DataLake.ExportUserStoreRelations
Examples
{
"ID": "FinancialPeriodID",
"FinancialPeriodNumber": null,
"PreviousFinancialPeriodID": "PreviousFinancialPeriodID",
"OpeningTime": "2021-06-12T07:19:47.963",
"ClosingTime": null,
"AutoClosed": false,
"Status": "Open",
"OrganizationUnitID": "OUID",
"User": {
"ID": "UserID",
"Nickname": "UserNickname",
"EmailAddress": "UserMailAddress",
"FirstName": "UserFirstName",
"LastName": "UserLastName",
"Gender": null,
"LanguageID": "fr",
"CountryID": "FR",
"Salutation": null
},
"CashDeposits": [],
"CashJournals": [{
"FinancialPeriodID": "FinancialPeriodID",
"PreviousCashJournalID": "PreviousFinancialPeriodID",
"PaymentTypeID": "PaymentTypeID",
"PaymentType": {
"PaymentMethodID": "PaymentMethodID",
"Name": "Cash",
"Code": "CASH",
"LedgerClassID": null,
"BackendRelationID": null,
"Category": "Cash",
"CashJournalMethod": "OpenAndClose"
},
"CurrencyID": "EUR",
"Type": "Default",
"OpeningTime": "2021-06-12T07:28:07.453",
"ClosingTime": "2021-06-12T17:29:54.487",
"OpeningAmount": 491.8800,
"ClosingAmount": 490.8800,
"OpeningDeviation": 0.0000,
"ClosingDeviation": null,
"StationID": "StationID",
"DeviceID": "DeviceID",
"OpeningDetailsObject": {
"Coins": {
"1": 2,
"2": 7,
"0.01": 3,
"0.02": 0,
"0.05": 3,
"0.1": 7,
"0.2": 0,
"0.5": 0
},
"BankNotes": {
"5": 1,
"10": 17,
"20": 15,
"50": 0,
"100": 0,
"200": 0,
"500": 0
},
"CashDeposits": {}
},
"ClosingDetailsObject": {
"Coins": {
"1": 1,
"2": 7,
"0.01": 3,
"0.02": 0,
"0.05": 3,
"0.1": 7,
"0.2": 0,
"0.5": 0
},
"BankNotes": {
"5": 1,
"10": 17,
"20": 15,
"50": 0,
"100": 0,
"200": 0,
"500": 0
},
"CashDeposits": {},
"Data": null
}
}
],
"Expenses": [],
"CashCorrections": [],
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"FinancialPeriodAuditID": "EUW",
"GenerationTime": "2021-06-12T18:00:29.3443732Z"
}
{
"GenerationTime": "2021-06-07T12:48:40.039718Z",
"ID": "OrderID",
"UserAgent": "eva-sales-app/0.86.0",
"BackendID": null,
"BackendSystemID": null,
"ReturnedOrderID": null,
"Description": null,
"Type": "Sales",
"GroupID": "GroupIDForRelatedOrders",
"CreationTime": "2021-06-07T12:47:16.423",
"LastModificationTime": "2021-06-07T12:48:37.333",
"Remark": null,
"CurrencyID": "EUR",
"IsCompleted": true,
"IsPaid": true,
"IsShipped": true,
"PaymentDate": "2021-06-07T12:48:36.773",
"ShipmentDate": "2021-06-07T12:48:37.383",
"CompletionDate": "2021-06-07T12:48:37.383",
"InvoiceDate": "2021-06-07T12:48:37.383",
"PlacementDate": null,
"BillingAddress": null,
"ShippingAddress": null,
"Customer": {
"ID": "UserID",
"Nickname": null,
"EmailAddress": "UserID",
"FirstName": "UserFirstName",
"LastName": "UserLastName",
"Gender": null,
"LanguageID": "nl",
"CountryID": "NL",
"Salutation": null
},
"Lines": [{
"ID": "OrderLineID",
"ParentID": null,
"ReturnedOrderLineID": null,
"Description": "ProductDescription",
"IsExported": false,
"CreationTime": "2021-06-07T12:47:16.423",
"LastModificationTime": "2021-06-07T12:48:37.333",
"UnitPrice": 90.8677,
"UnitPriceBeforeCorrection": null,
"UnitPriceCorrectionReason": null,
"UnitCost": 16.9800,
"TaxRate": 1.210000,
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"QuantityOrdered": 1,
"QuantityCancelled": 0,
"QuantityShipped": 1,
"QuantityCommitted": 0,
"QuantityExported": 0,
"QuantityDelivered": 1,
"QuantityReserved": 0,
"TotalQuantityToShip": 1,
"IsShipped": true,
"IsInvoiced": true,
"Type": "NormalProduct",
"Discounts": [{
"DiscountID": "DiscountID",
"DiscountBackendID": "DiscountBackendID",
"DiscountOrderLineID": "DiscountOrderLineID",
"Amount": -32.9900
}
],
"Product": {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID"
},
"SoldBy": {
"ID": "UserID",
"Nickname": "UserNickname",
"EmailAddress": "UserMailAddress",
"FirstName": "UserFirstName",
"LastName": "UserLastName",
"Gender": "M",
"LanguageID": "nl",
"CountryID": "NL",
"Salutation": null
},
"SerialNumber": null,
"IsDelivery": false,
"IsReservation": false,
"IsOrdered": false,
"RequestedDate": null,
"AvailabilityStatus": null,
"ExpectedAvailabilityDate": null,
"Remark": null,
"DiscountAmount": -32.9900
}
],
"Payments": [{
"ID": "PaymentID",
"BackendID": "PaymentBackendID",
"IsConfirmed": true,
"Code": "PIN",
"Description": "PIN",
"Amount": 174.8900,
"PaidAmount": 174.8900,
"CurrencyID": "EUR",
"PaymentDate": "2021-06-07T12:48:36.763"
}
],
"TotalAmountIncludingTaxes": 174.89,
"OriginatingOrganizationUnit": {
"IsDeleted": false,
"Description": null,
"Notes": null,
"ParentID": "OriginatinOrganizationUnitParentID",
"RegisterCashLimit": 1000.0000,
"SafeCashLimit": null,
"BackendRelationID": "BackendRelationID",
"BackendCompanyID": "BackendCompanyID",
"BranchNumber": "BranchNumber",
"GlobalLocationNumber": null,
"Address": {
"AddressedTo": null,
"Street": "Street",
"HouseNumber": "HouseNumber",
"Address1": null,
"Address2": null,
"ZipCode": "ZipCode",
"Subdistrict": null,
"District": null,
"City": "City",
"State": null,
"Region": null,
"CountryID": "NL"
},
"Latitude": Latitude,
"Longitude": Longitude,
"Type": ["Shop", "Pickup", "EVA"],
"Status": "Open",
"Subnet": "Subnet",
"BankAccount": null,
"VatNumber": null,
"RegistrationNumber": null,
"EmailAddress": "EmailAddress",
"PhoneNumber": "PhoneNumber",
"UseForAccounting": true,
"IpAddress": "IpAddress",
"CountryID": "NL",
"LanguageID": "nl",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"TimeZone": "Europe/Amsterdam",
"Region": null,
"CostPriceCalculationMethod": "Manual",
"ID": "OUID",
"Name": "OUName",
"BackendID": "OUBackendID"
},
"SoldToOrganizationUnit": null,
"SoldFromOrganizationUnit": {
"IsDeleted": false,
"Description": null,
"Notes": null,
"ParentID": "OriginatinOrganizationUnitParentID",
"RegisterCashLimit": 1000.0000,
"SafeCashLimit": null,
"BackendRelationID": "BackendRelationID",
"BackendCompanyID": "BackendCompanyID",
"BranchNumber": "BranchNumber",
"GlobalLocationNumber": null,
"Address": {
"AddressedTo": null,
"Street": "Street",
"HouseNumber": "HouseNumber",
"Address1": null,
"Address2": null,
"ZipCode": "ZipCode",
"Subdistrict": null,
"District": null,
"City": "City",
"State": null,
"Region": null,
"CountryID": "NL"
},
"Latitude": Latitude,
"Longitude": Longitude,
"Type": ["Shop", "Pickup", "EVA"],
"Status": "Open",
"Subnet": "Subnet",
"BankAccount": null,
"VatNumber": null,
"RegistrationNumber": null,
"EmailAddress": "EmailAddress",
"PhoneNumber": "PhoneNumber",
"UseForAccounting": true,
"IpAddress": "IpAddress",
"CountryID": "NL",
"LanguageID": "nl",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"TimeZone": "Europe/Amsterdam",
"Region": null,
"CostPriceCalculationMethod": "Manual",
"ID": "OUID",
"Name": "OUName",
"BackendID": "OUBackendID"
},
"ShipToOrganizationUnit": null,
"ShipFromOrganizationUnit": null,
"CustomStatus": []
}
{
"GenerationTime": "2021-07-22T01:00:07.2746063Z",
"Products": [{
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Configurable"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "root",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Configurable"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "color",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Stock"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "size",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Stock"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "size",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Stock"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "size",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Stock"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BIZTALK",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "size",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}, {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID",
"CustomID": "ProductCustomID",
"Type": ["Stock"],
"LedgerClassID": "LedgerClassID",
"BackendSystemID": "BackendSystemID",
"ManufacturerID": null,
"BackendStatus": "None",
"OrganizationUnit": null,
"LogicalLevel": "size",
"TaxCode": "High",
"CountryOfOriginID": null,
"CommodityCode": null
}
]
}
{
"GenerationTime": "2021-07-18T10:35:20.9074717Z",
"OrganizationUnit": {
"IsDeleted": false,
"Description": null,
"Notes": null,
"ParentID": "OrganizationUnitParentID",
"RegisterCashLimit": 1000.0000,
"SafeCashLimit": null,
"BackendRelationID": "OrganizationUnitBackendRelationID",
"BackendCompanyID": "OrganizationUnitBackendCompanyID",
"BranchNumber": "OrganizationUnitBranchNumber",
"GlobalLocationNumber": null,
"Address": {
"AddressedTo": null,
"Street": "Street",
"HouseNumber": "HouseNumber",
"Address1": null,
"Address2": null,
"ZipCode": "ZipCode",
"Subdistrict": null,
"District": null,
"City": "City",
"State": null,
"Region": null,
"CountryID": "NL"
},
"Latitude": Latitude,
"Longitude": Longitude,
"Type": ["Shop", "Pickup", "EVA"],
"Status": "Open",
"Subnet": "Subnet",
"BankAccount": null,
"VatNumber": null,
"RegistrationNumber": null,
"EmailAddress": "EmailAddress",
"PhoneNumber": "PhoneNumber",
"UseForAccounting": true,
"IpAddress": "IpAddress",
"CountryID": "NL",
"LanguageID": "nl",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"TimeZone": "Europe/Amsterdam",
"Region": null,
"CostPriceCalculationMethod": "Manual",
"ID": "OrganizationUnitID",
"Name": "OrganizationUnitName",
"BackendID": "OrganizationUnitBackendID"
},
"Products": [{
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 1,
"MaximumQuantity": 1,
"StartDate": null,
"EndDate": null
}, {
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 1,
"MaximumQuantity": 1,
"StartDate": null,
"EndDate": null
}, {
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 1,
"MaximumQuantity": 1,
"StartDate": null,
"EndDate": null
}, {
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 1,
"MaximumQuantity": 1,
"StartDate": null,
"EndDate": null
}, {
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 1,
"MaximumQuantity": 1,
"StartDate": null,
"EndDate": null
}, {
"ProductID": "ProductID",
"StockLabel": "Sellable",
"MinimumQuantity": 2,
"MaximumQuantity": 2,
"StartDate": null,
"EndDate": null
}
]
}
{
"GenerationTime": "2021-07-22T00:00:17.2710496Z",
"OrganizationUnit": {
"IsDeleted": false,
"Description": null,
"Notes": null,
"ParentID": "OrganizationUnitParentID",
"RegisterCashLimit": 1000.0000,
"SafeCashLimit": null,
"BackendRelationID": "OrganizationUnitBackendRelationID",
"BackendCompanyID": "OrganizationUnitBackendCompanyID",
"BranchNumber": "OrganizationUnitBranchNumber",
"GlobalLocationNumber": null,
"Address": {
"AddressedTo": null,
"Street": "OrganizationUnitStreet",
"HouseNumber": "OrganizationUnitHouseNumber",
"Address1": null,
"Address2": null,
"ZipCode": "OrganizationUnitZipCode",
"Subdistrict": null,
"District": null,
"City": "OrganizationUnitCity",
"State": null,
"Region": null,
"CountryID": "DE"
},
"Latitude": OrganizationUnitLatitude,
"Longitude": OrganizationUnitLongitude,
"Type": ["Shop", "Pickup", "EVA"],
"Status": "Open",
"Subnet": "OrganizationUnitSubnet",
"BankAccount": null,
"VatNumber": null,
"RegistrationNumber": null,
"EmailAddress": "OrganizationUnitMailAddress",
"PhoneNumber": "OrganizationUnitPhoneNumber",
"UseForAccounting": true,
"IpAddress": "OrganizationUnitIpAddress",
"CountryID": "DE",
"LanguageID": "de",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"TimeZone": "Europe/Berlin",
"Region": null,
"CostPriceCalculationMethod": "Manual",
"ID": "OrganizationUnitID",
"Name": "OrganizationUnitName",
"BackendID": "OrganizationUnitBackendID"
},
"Stock": {
"Sellable": [{
"ProductID": "ProductID1",
"Quantity": 1
}, {
"ProductID": "ProductID2",
"Quantity": 0
}, {
"ProductID": "ProductID3",
"Quantity": 0
}, {
"ProductID": "ProductID4",
"Quantity": 0
}, {
"ProductID": "ProductID5",
"Quantity": 0
}
],
"Returns": [{
"ProductID": "ProductID6",
"Quantity": 1
}
],
"Damaged": [{
"ProductID": "ProductID7",
"Quantity": 1
}
]
}
}
{
"GenerationTime": "2021-05-07T08:55:06.1021798Z",
"ID": "StockMutationID",
"Product": {
"ID": "ProductID",
"Name": "ProductName",
"BackendID": "ProductBackendID"
},
"OrganizationUnit": {
"IsDeleted": false,
"Description": null,
"Notes": null,
"ParentID": "OrganizationUnitParentID",
"RegisterCashLimit": 1000.0000,
"SafeCashLimit": null,
"BackendRelationID": "OrganizationUnitBackendRelationID",
"BackendCompanyID": "OrganizationUnitBackendCompanyID",
"BranchNumber": "OrganizationUnitBranchNumber",
"GlobalLocationNumber": null,
"Address": {
"AddressedTo": null,
"Street": "OrganizationUnitStreet",
"HouseNumber": "OrganizationUnitHouseNumber",
"Address1": null,
"Address2": null,
"ZipCode": "OrganizationUnitZipCode",
"Subdistrict": null,
"District": null,
"City": "OrganizationUnitCity",
"State": null,
"Region": null,
"CountryID": "DE"
},
"Latitude": OrganizationUnitLatitude,
"Longitude": OrganizationUnitLongitude,
"Type": ["Shop", "Pickup", "EVA"],
"Status": "Open",
"Subnet": "OrganizationUnitSubnet",
"BankAccount": null,
"VatNumber": null,
"RegistrationNumber": null,
"EmailAddress": "OrganizationUnitMailAddress",
"PhoneNumber": "OrganizationUnitPhoneNumber",
"UseForAccounting": true,
"IpAddress": "OrganizationUnitIpAddress",
"CountryID": "DE",
"LanguageID": "de",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"TimeZone": "Europe/Berlin",
"Region": null,
"CostPriceCalculationMethod": "Manual",
"ID": "OrganizationUnitID",
"Name": "OrganizationUnitName",
"BackendID": "OrganizationUnitBackendID"
},
"SourceStockLabel": "Sellable",
"DestinationStockLabel": "Sellable",
"Quantity": 2,
"UnitCost": 21.2500,
"Reason": "FullStockCount",
"Remark": "OptionalRemark",
"OrderLineID": "OrderLineID",
"BackendSystemID": null,
"BackendID": null,
"Ledgers": [{
"StockLabel": "Sellable",
"Quantity": 2
}
]
}
{
"ID": "ShipmentID",
"OrderID": "OrderID",
"SupplierOrganizationUnit": {
"IsDeleted": false,
"ParentID": "SupplierOrganizationUnitParentID",
"Type": ["Warehouse", "EVA"],
"Status": "Default",
"UseForAccounting": false,
"CountryID": "US",
"CurrencyID": "USD",
"CostPriceCurrencyID": "USD",
"CostPriceCalculationMethod": "Manual",
"ID": "SupplierOrganizationUnitID",
"Name": "SupplierOrganizationUnitName",
"BackendID": "SupplierOrganizationUnitBackendID"
},
"FulfillmentMethod": "EXPORT_ORDER",
"Data": "{\"ExporterName\":\"OCAPI\"}",
"Source": "Ocapi",
"IsDelivery": true,
"Lines": [{
"OrderLineID": "OrderLineID",
"Status": "InProgress",
"CreationTime": "2021-06-09T00:12:44.037",
"LastModificationTime": "2021-06-09T00:12:44.153",
"ID": "ID"
}
],
"CreationTime": "2021-06-09T00:12:44.037",
"GenerationTime": "2021-06-09T00:12:44.3285436Z"
}
{
"GenerationTime":"2021-10-19T06:12:45.1904466Z",
"Events":[
{
"ID":"ID",
"FinancialPeriodID":"FinancialPeriodID",
"OrganizationUnit":{
"ID":"OrganizationUnitID",
"Name":"OrganizationUnitName",
"BackendID":"OrganizationUnitBackendID"
},
"Type":"Payment",
"SubType":null,
"CurrencyID":"EUR",
"Amount":5931.0000,
"Remark":null,
"Status":"Processed",
"ProcessingError":"",
"StockMutationID":null,
"PaymentTransactionID":"PaymentTransactionID",
"OrderID":"OrderID",
"OrderLineID":"OrderLineID",
"InvoiceID":null,
"InvoiceLineID":null,
"ShipmentID":"ShipmentID",
"ShipmentLineID":"ShipmentLineID",
"TaxCode":null,
"Reference":null,
"TaxRate":null,
"LedgerClassID":null,
"ProductID":"ProductID",
"CashJournalID":null,
"TaxRateCategory":null,
"DiscountID":null,
"InvoiceDisputeID":null,
"InvoiceDisputeResolveActionID":null
},
{
"ID":"ID",
"FinancialPeriodID":"FinancialPeriodID",
"OrganizationUnit":{
"ID":"OrganizationUnitID",
"Name":"OrganizationUnitName",
"BackendID":"OrganizationUnitBackendID"
},
"Type":"Payment",
"SubType":null,
"CurrencyID":"EUR",
"Amount":5931.0000,
"Remark":null,
"Status":"Processed",
"ProcessingError":"",
"StockMutationID":null,
"PaymentTransactionID":"PaymentTransactionID",
"OrderID":"OrderID",
"OrderLineID":"OrderLineID",
"InvoiceID":null,
"InvoiceLineID":null,
"ShipmentID":"ShipmentID",
"ShipmentLineID":"ShipmentLineID",
"TaxCode":null,
"Reference":null,
"TaxRate":null,
"LedgerClassID":null,
"ProductID":"ProductID",
"CashJournalID":null,
"TaxRateCategory":null,
"DiscountID":null,
"InvoiceDisputeID":null,
"InvoiceDisputeResolveActionID":null
},
{
"ID":"ID",
"FinancialPeriodID":"FinancialPeriodID",
"OrganizationUnit":{
"ID":"OrganizationUnitID",
"Name":"OrganizationUnitName",
"BackendID":"OrganizationUnitBackendID"
},
"Type":"Payment",
"SubType":null,
"CurrencyID":"EUR",
"Amount":5931.0000,
"Remark":null,
"Status":"Processed",
"ProcessingError":"",
"StockMutationID":null,
"PaymentTransactionID":"PaymentTransactionID",
"OrderID":"OrderID",
"OrderLineID":"OrderLineID",
"InvoiceID":null,
"InvoiceLineID":null,
"ShipmentID":"ShipmentID",
"ShipmentLineID":"ShipmentLineID",
"TaxCode":null,
"Reference":null,
"TaxRate":null,
"LedgerClassID":null,
"ProductID":"ProductID",
"CashJournalID":null,
"TaxRateCategory":null,
"DiscountID":null,
"InvoiceDisputeID":null,
"InvoiceDisputeResolveActionID":null
}
]
}
{
"GenerationTime":"2021-10-19T06:12:45.257687Z",
"Ledgers":[
{
"ID":"ID",
"FinancialPeriodID":"FinancialPeriodID",
"OrganizationUnit":{
"ID":"OrganizationUnitID",
"Name":"OrganizationUnitName",
"BackendID":"OrganizationUnitBackendID"
},
"CurrencyID":"EUR",
"Account":{
"ID":"ID",
"Name":"AccountName",
"ObjectAccount":"ObjectAccount",
"Subsidiary":null,
"BackendCode":null,
"BookingFlags":[
],
"Type":"GeneralLedger"
},
"Amount":-7.5400,
"Remark":null,
"IsProcessed":false,
"StockMutationID":null,
"PaymentTransactionID":null,
"OrderID":"OrderID",
"OrderLineID":"OrderLineID",
"InvoiceID":"InvoiceID",
"ShipmentID":null,
"FinancialEventID":"FinancialEventID",
"Reference":null,
"Offset1":"Offset1",
"Offset2":"Offset2",
"Offset3":"Offset3",
"Offset4":"Offset4",
"Offset5":null,
"Offset6":null,
"TaxCode":null,
"TaxBookingsCode":null,
"TaxAmount":null,
"TaxRate":null,
"Description":"Description",
"Source":"4"
},
{
"ID":"ID",
"FinancialPeriodID":"FinancialPeriodID",
"OrganizationUnit":{
"ID":"OrganizationUnitID",
"Name":"OrganizationUnitName",
"BackendID":"OrganizationUnitBackendID"
},
"CurrencyID":"EUR",
"Account":{
"ID":"ID",
"Name":"AccountName",
"ObjectAccount":"ObjectAccount",
"Subsidiary":null,
"BackendCode":null,
"BookingFlags":[
],
"Type":"GeneralLedger"
},
"Amount":-7.5400,
"Remark":null,
"IsProcessed":false,
"StockMutationID":null,
"PaymentTransactionID":null,
"OrderID":"OrderID",
"OrderLineID":"OrderLineID",
"InvoiceID":"InvoiceID",
"ShipmentID":null,
"FinancialEventID":"FinancialEventID",
"Reference":null,
"Offset1":"Offset1",
"Offset2":"Offset2",
"Offset3":"Offset3",
"Offset4":"Offset4",
"Offset5":null,
"Offset6":null,
"TaxCode":null,
"TaxBookingsCode":null,
"TaxAmount":null,
"TaxRate":null,
"Description":"Description",
"Source":"4"
}
]
}
{
"id": "2b5a679c-ed06-4dd0-a801-2866765430b2",
"Type": "Login",
"BackendType": "",
"CreationTime": "2022-09-15T16:49:20.761081+02:00",
"IpAddress": "192.168.0.1",
"TenantID": "euw-test-customer",
"PartitionKey": "euw-test-customer_123",
"Auditing": {
"CumulativeTotalTaxes": 23.99,
"SequenceNumber": 1,
"PreviousSequenceNumber": 123,
"Signature": "",
"PreviousSignature": "",
"Type": "",
"Version": 1,
"KeyBlobID": "ed699c3-4a78-4a28-abb4-c6d67fb5906",
"ChainID": 123
},
"CurrentUser": {
"ID": 123,
"FirstName": "Em",
"FullName": "Em Plo Yee",
"EmailAddress": "employee@customer.com",
"ApplicationID": 1,
"LanguageID": "en",
"CountryID": "GB",
"OrganizationUnitID": 123,
"StationID": 123,
"Type": 1,
"TimeZone": "Europe/London",
"OrganizationUnit": {
"ID": 123,
"Name": "London Square",
"Type": 129
}
},
"Order": {
"ID": 123,
"Customer": {
"ID": 123
},
"HasReturns": false,
"CurrencyID": "GBP",
"Type": 0,
"IsPaid": true,
"IsCompleted": true,
"IsShipped": true,
"IsInvoiced": true
},
"UserTask": {
"ID": 123,
"UserID": 123,
"StartTime": "2022-09-15T00:00:00+02:00",
"CompletionTime": "2022-09-15T16:49:20.773558+02:00",
"Type": {
"ID": 123,
"Name": ""
},
"Description": ""
},
"DailyTotals": [
{
"Description": "",
"ExternalTotal": 23.99,
"ExpectedTotal": 23.99
}
],
"ExecutionContext": {
"Name": "",
"UserAgent": "agent/1.2.345",
"ID": "",
"Version": "2.0.658"
},
"AuthenticationResponse": {
"Result": 2
},
"PaymentTransaction": {
"ID": 123,
"BackendID": "",
"Amount": 23.99,
"PaidAmount": 23.99,
"Description": "",
"Type": {
"ID": 123,
"Name": ""
},
"PaymentMethod": "",
"CurrencyID": "GBP",
"AmountToRefund": 23.99,
"RefundedAmount": 23.99,
"Status": 10
},
"FinancialPeriod": {
"ID": 123
},
"Station": {
"ID": 123,
"Name": ""
},
"Device": {
"ID": 123,
"Name": "",
"IpAddress": "192.168.0.1",
"Type": {
"ID": 3,
"IDs": [
1,
2
],
"Name": "Pin, ThermalPrinter",
"Names": [
"Pin",
"ThermalPrinter"
]
},
"OpenCashDrawerReason": {
"ID": 123,
"Name": "",
"Description": ""
},
"EcrID": "",
"HardwareID": "",
"ProxyID": "",
"StationID": 123
},
"OrderLines": [
{
"ID": 123,
"Description": "",
"ProductID": 123,
"TotalQuantityToShip": 1,
"QuantityShipped": 1,
"QuantityInvoiced": 1,
"UnitPrice": 24.99,
"TaxRate": 1.06
}
],
"Description": "",
"Discount": {
"Trigger": 1,
"ActionType": "",
"ActionData": {
"some": 1,
"data": true
}
},
"Invoice": {
"ID": 123,
"ReferencedInvoiceID": 123,
"InvoiceNumber": "",
"FiscalID": "",
"TotalAmount": 23.99,
"InvoiceData": [
{
"Type": "",
"Data": ""
}
]
},
"Amount": 23.99,
"Attachments": [
{
"Name": "",
"Category": "",
"MimeType": "image/png",
"BlobID": "91d843b-caf-44c5-ae0f-639f5fa24d4"
}
],
"MessageTemplate": {
"ID": 123,
"Name": "",
"OrganizationUnitID": 123,
"LanguageID": "en",
"CountryID": "GB",
"DestinationID": 123
},
"FinancialReportingPeriod": {
"ID": 123,
"Type": 1,
"StartDate": "2022-09-15T00:00:00+02:00",
"EndDate": "2022-09-15T16:49:20.7716236+02:00"
},
"Data": {
"some": 1,
"data": true
},
"BlobID": "5b32abe-4a11-4c65-a408-5eadf529e36",
"OrganizationUnit": {
"ID": 123,
"Name": "London Square",
"Type": 129
},
"FinancialPeriodAudit": {
"ID": 123
},
"Role": {
"ID": 123
},
"User": {
"ID": 123
},
"TerminalReport": {
"Number": "",
"Type": 0,
"Supplier": {
"SystemID": "",
"Name": "",
"RegistrationNumber": "",
"TaxRegistrationNumber": "",
"PhoneNumber": "",
"Email": "",
"WasteDisposalNumber": "",
"TaxOfficeNumber": "",
"BankAccount": "",
"Website": "",
"BIC": "",
"AuditingFields": {
"Some": "Fields"
},
"Address": {
"Address1": "",
"Address2": "",
"Number": "",
"City": "",
"PostalCode": "",
"Country": "GB",
"Region": null,
"State": "",
"Type": 1
}
},
"Company": {
"SystemID": "",
"Name": "",
"RegistrationNumber": "",
"TaxRegistrationNumber": "",
"PhoneNumber": "",
"Email": "",
"WasteDisposalNumber": "",
"TaxOfficeNumber": "",
"BankAccount": "",
"Website": "",
"BIC": "",
"AuditingFields": {
"Some": "Fields"
},
"Address": {
"Address1": "",
"Address2": "",
"Number": "",
"City": "",
"PostalCode": "",
"Country": "GB",
"Region": null,
"State": "",
"Type": 1
}
},
"Date": "2022-09-15T16:49:20.7728549+02:00",
"Payments": [
{
"Type": {
"ID": 123,
"Name": "",
"Code": ""
},
"Amount": 23.99,
"Count": 1
}
],
"CreditTaxes": [
{
"Name": "",
"Code": "",
"Rate": 1.06,
"Base": 22.63,
"Amount": 23.99
}
],
"DebitTaxes": [
{
"Name": "",
"Code": "",
"Rate": 1.06,
"Base": 22.63,
"Amount": 23.99
}
],
"Taxes": [
{
"Name": "",
"Code": "",
"Rate": 1.06,
"Base": 22.63,
"Amount": 23.99
}
],
"ProductGroups": [
{
"Code": "",
"Amount": 23.99,
"Count": 1
}
],
"PaymentsPerUser": [
{
"UserID": 123,
"EmployeeNumber": "",
"Description": "",
"Amount": 23.99,
"Count": 1
}
],
"CopyReceiptsPrinted": 1,
"TotalCopyReceiptsAmount": 23.99,
"ReceiptsPrinted": 1,
"CashDrawerOpenings": 1,
"ReturnCount": 1,
"TotalReturnsAmount": 23.99,
"DiscountCount": 1,
"TotalDiscounts": 23.99,
"Change": 23.99,
"GrandTotalCash": 23.99,
"GrandTotal": 23.99,
"GrandTotalNet": 23.99,
"GrandTotalReturns": 23.99
},
"CashExpense": {
"ID": 123,
"Type": {
"ID": 123,
"Type": "",
"Name": "",
"Description": ""
},
"Amount": 23.99,
"Description": "",
"TaxCodeID": 123,
"TaxRate": 1.06,
"BlobID": "12874b5f-ac5b-43a8-8a2b-aef1db01e16",
"SignatureBlobID": "3e744cd-fdc7-422a-a369-89572cb333"
},
"CashDeposit": {
"ID": 123,
"Status": "",
"Number": "",
"Amount": 23.99,
"CurrencyID": "GBP",
"Details": {
"Coins": {
"0.01": 1,
"0.02": 1,
"0.05": 1,
"0.10": 1,
"0.20": 1,
"0.50": 1,
"1.00": 1,
"2.00": 1
},
"BankNotes": {
"5": 1,
"10": 1,
"20": 1,
"50": 1,
"100": 1,
"200": 1,
"500": 1
}
},
"SignatureBlobID": "b9fc3a29-3d00-48fd-9284-d58fd85ce843"
},
"CashCorrection": {
"ID": 123,
"CreatedByID": 123,
"FinancialPeriodID": 123,
"DeviceID": 123,
"Type": "",
"Amount": 23.99,
"Remark": "",
"Reason": {
"ID": 123,
"Name": "",
"BackendID": ""
}
},
"CashMovement": {
"ID": 123,
"FinancialPeriodID": 123,
"PaymentTypeID": 123,
"SourceDeviceID": 123,
"DestinationDeviceID": 123,
"CurrencyID": "GBP",
"Amount": 23.99
}
}
{
"GenerationTime": "2022-07-26T00:00:01.0097026Z",
"OrganizationUnits":{
"IsDeleted": false,
"Description": "EVA",
"RegisterCashLimit": 0.0000,
"SafeCashLimit": 0.0000,
"Latitude": 0.0,
"Longitude": 0.0,
"Type":[],
"Status": "Default",
"UseForAccounting": false,
"CountryID": "NL",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"CostPriceCalculationMethod": "Manual",
"Name": "EVA"
},
"IsDeleted": false,
"Description": "EVA2",
"Type": ["Container"],
"Status": "Default",
"Subnet": "0.0.0.0/0",
"UseForAccounting": false,
"CountryID": "NL",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"CostPriceCalculationMethod": "Manual",
"ID": "0f4c394c-d942-46f1-86c9-22944eb09c92",
"Name":"EVA2",
"BackendID": "EVA-2"
}
}
}
{
"GenerationTime": "2022-11-03T16:56:20.1792011Z",
"ID": "euw119",
"Status": "Closed",
"Type": "Sales",
"InvoiceNumber": "48",
"InvoiceDate": "2022-11-03T16:56:20.14",
"TotalAmount": 59.9500,
"CurrencyID": "EUR",
"CreditorOrganizationUnit": {
"IsDeleted": false,
"Description": "",
"ParentID": "459ab14f-5e97-483f-a513-854d0a34b051",
"Address": {
"AddressedTo": "",
"HouseNumber": "73",
"Address1": "Larry king rd",
"ZipCode": "08304",
"City": "Mataró",
"Region": "Barcelona",
"CountryID": "ES",
"Street": "Larry king rd"
},
"Latitude": 41.1254763846536453,
"Longitude": 2.3543792946393749,
"Type": [
"Shop",
"EVA"
],
"Status": "Open",
"VatNumber": "X123456789",
"RegistrationNumber": "X12345678A",
"EmailAddress": "Mario@newblack.io",
"PhoneNumber": "+34111111111",
"UseForAccounting": false,
"IpAddress": "11.11.11.11",
"CountryID": "ES",
"LanguageID": "es",
"CurrencyID": "EUR",
"CostPriceCurrencyID": "EUR",
"CostPriceCalculationMethod": "Manual",
"ID": "e9655d7a-3968-46e9-acea-e1df7516233b",
"Name": "Store Mataro"
},
"Lines": [
{
"ID": "euw162",
"OrderID": 151,
"TotalAmount": 49.5454,
"OrderLineID": 174,
"Type": "Default",
"Description": "GEL-Resolution 8 GS Clay Kids",
"Quantity": 1
}
]
}
{
"GenerationTime": "2022-11-11T08:10:49.3455134Z",
"ID": "BRT44",
"Name": "store_pricelist",
"CurrencyID": "NOK",
"TimeZone": "Europe/Amsterdam",
"IsActive": false,
"IncludingVat": true,
"IsSpecialPricesPriceList": false,
"OrganizationUnits": [],
"Prices": [
{
"ProductID": "BRT12661",
"Price": 650.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12662",
"Price": 655.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12663",
"Price": 658.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12664",
"Price": 684.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12665",
"Price": 684.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12666",
"Price": 684.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12667",
"Price": 658.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12668",
"Price": 658.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12669",
"Price": 650.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12670",
"Price": 650.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12671",
"Price": 650.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12672",
"Price": 655.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12673",
"Price": 655.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12674",
"Price": 655.0000,
"Label": "PRAdjustment1"
},
{
"ProductID": "BRT12675",
"Price": 655.0000,
"Label": "PRAdjustment1"
}
]
}
{
"GenerationTime": "2022-11-10T09:49:18.7307589Z",
"UserOURelations": [
{
"UserID": "3",
"EmailAddress": "peter@companymail.io",
"FirstName": "Peter",
"LastName": "Rares",
"RoleName": "Login",
"OUSetID": "1",
"OUSetName": "Company Container"
},
{
"UserID": "3",
"EmailAddress": "peter@companymail.io",
"FirstName": "Peter",
"LastName": "Rares",
"RoleName": "Login",
"OUSetID": "2",
"OUSetName": "BI"
},
{
"UserID": "3",
"EmailAddress": "peter@companymail.io",
"FirstName": "Peter",
"LastName": "Rares",
"RoleName": "New Black",
"OUSetID": "1",
"OUSetName": "Company Container"
},
{
"UserID": "3",
"EmailAddress": "peter@companymail.io",
"FirstName": "Peter",
"LastName": "Rares",
"RoleName": "Reporting",
"OUSetID": "1",
"OUSetName": "Company Container"
},
{
"UserID": "4",
"EmailAddress": "daphne@anothercompany.nl",
"FirstName": "Daphne",
"LastName": "Pearson",
"RoleName": "Login",
"OUSetID": "2",
"OUSetName": "BI"
},
{
"UserID": "4",
"EmailAddress": "Daphne@anothercompany.nl",
"FirstName": "Daphne",
"LastName": "Pearson",
"RoleName": "New Black",
"OUSetID": "1",
"OUSetName": "Another company Container"
}
]
}
{
"Order": {
"GenerationTime": "0001-01-01T00:00:00",
"ID": "26454",
"UserAgent": "eva-pos-app/2.81.0",
"BackendID": null,
"BackendSystemID": null,
"Properties": 8192,
"Description": null,
"Type": "Sales",
"GroupID": "2ce0c653-520d-42cb-b3e6-85b3cb49e650",
"CreationTime": "2023-02-08T14:57:54.083",
"LastModificationTime": "2023-02-08T15:29:30.79",
"Remark": null,
"CurrencyID": "NOK",
"IsCompleted": false,
"IsPaid": true,
"IsShipped": false,
"PaymentDate": "2023-02-08T15:29:30.817",
"ShipmentDate": null,
"CompletionDate": null,
"InvoiceDate": null,
"PlacementDate": "2023-02-08T15:29:30.817",
"BillingAddress": {
"FirstName": "Penny",
"LastName": "Pedders",
"AddressedTo": "Penny Pedders",
"HouseNumber": "4",
"Address1": "P. J. Oudweg",
"Address2": null,
"ZipCode": "1234AB",
"Subdistrict": null,
"District": null,
"City": "Almere",
"State": null,
"Region": null,
"CountryID": "NL",
"Street": "P. J. Oudweg"
},
"ShippingAddress": {
"FirstName": "Penny",
"LastName": "Pedders",
"AddressedTo": "Penny Pedders",
"HouseNumber": null,
"Address1": "P. J. Oudweg",
"Address2": null,
"ZipCode": "1234AB",
"Subdistrict": null,
"District": null,
"City": "Almere",
"State": null,
"Region": null,
"CountryID": "NL",
"Street": "P. J. Oudweg"
},
"Customer": {
"ID": "EUW208",
"BackendID": "afe8c93a-b272-419e-8e45-de92da80618e",
"BackendSystemID": null,
"Nickname": null,
"EmailAddress": "penny.pedders@somewhere.io",
"FirstName": "Penny",
"LastName": "Pedders",
"Gender": null,
"LanguageID": "en",
"CountryID": "NL",
"Salutation": null
},
"Lines": [
{
"ID": "EUW59728",
"ParentID": null,
"ReturnedOrderID": null,
"ReturnedOrderLineID": null,
"Description": "SOME AWESOME PRODUCT",
"IsExported": false,
"CreationTime": "2023-02-08T14:57:54.487",
"LastModificationTime": "2023-02-08T15:29:32.117",
"UnitPrice": 1279.2000,
"UnitPriceBeforeCorrection": null,
"UnitPriceCorrectionReason": null,
"OriginalUnitPrice": null,
"OriginalUnitPriceInTax": null,
"UnitCost": 0.0000,
"TaxRate": 1.250000,
"CurrencyID": "NOK",
"CostPriceCurrencyID": "NOK",
"QuantityOrdered": 1,
"QuantityCancelled": 0,
"QuantityShipped": 0,
"QuantityCommitted": 1,
"QuantityExported": 0,
"QuantityDelivered": 0,
"QuantityReserved": 0,
"TotalQuantityToShip": 1,
"IsShipped": false,
"IsInvoiced": false,
"Type": "NormalProduct",
"Discounts": [],
"Product": {
"ID": "EUW35149",
"Name": "SOME AWESOME PRODUCT",
"BackendID": "ASDF"
},
"SoldBy": null,
"SerialNumber": null,
"IsDelivery": true,
"IsReservation": false,
"IsOrdered": false,
"RequestedDate": null,
"AvailabilityStatus": null,
"ExpectedAvailabilityDate": "2023-03-11T00:00:00",
"Remark": null,
"DiscountAmount": 0.0000,
"ShippingMethod": "1001"
}
],
"Payments": [
{
"ID": "EUW12267",
"BackendID": null,
"IsConfirmed": true,
"Code": "CASH",
"Description": "Cash",
"Amount": 1599.0000,
"PaidAmount": 1599.0000,
"CurrencyID": "EUR",
"PaymentDate": "2023-02-08T15:29:30.617",
"BackendRelationID": null
}
],
"TotalAmountIncludingTaxes": 1599.00,
"OriginatingOrganizationUnit": {
"ID": "2b04b782-52ba-41b9-920c-31999cacc77c",
"Name": "MY STORE",
"BackendID": "3401"
},
"SoldToOrganizationUnit": null,
"SoldFromOrganizationUnit": {
"ID": "2b04b782-52ba-41b9-920c-31999cacc77c",
"Name": "MY STORE",
"BackendID": "3401"
},
"ShipToOrganizationUnit": null,
"ShipFromOrganizationUnit": null,
"CustomStatus": [],
"OrderLedgers": []
},
"Fulfillments": [
{
"Shipments": [
{
"Score": 100,
"ScoreExplanation": {
"Description": "Shipment score consists of: 100 from score boosts on the Shipment scope and 100 from the OrderLines in this shipment",
"ScoreExplanations": []
},
"FulfillmentAction": "CANCEL",
"Data": null,
"Sheet": {
"ID": 10011,
"Name": "CancelSheet"
},
"Supplier": {
"ID": 1,
"Name": "THE SUPPLIER",
"BackendID": "supplier-001"
},
"OrderLines": [
{
"ID": 123465,
"Score": -1000,
"Quantity": 1,
"ScoreExplanations": [
{
"Description": "100 added to score of OrderLine due to a boost in the Order scope.",
"Expression": "score add 100\n",
"PreviousScore": 0,
"NewScore": 100,
"DeltaScore": 100,
"Variables": null
}
]
}
]
}
],
"Score": -900,
"ScoreExplanation": {
"Description": "Fulfillment proposition score consists of: 100 from score boosts on the Fulfillment Proposition scope and -1000 from the shipments in this proposition.",
"ScoreExplanations": [
{
"Description": "100 added to score of the fulfillment proposition due to a boost at the proposition scope",
"Expression": "score add (100 * (1 / ShipmentCount))\n",
"PreviousScore": -1000,
"NewScore": -900,
"DeltaScore": 100,
"Variables": {
"ShipmentCount": 1
}
}
]
}
}
],
"OrderLines": [
{
"ID": 59728,
"GroupID": null,
"PotentialSuppliers": [
{
"OrganizationUnitID": 1,
"Score": 80,
"Sheet": "CancelSheet"
}
]
}
],
"Rejections": [
{
"SupplierOrganizationUnitID": 12,
"SupplierOrganizationUnitName": "Some Stores name",
"FulfillmentMethods": [
{
"Name": "StoreFulfillment",
"Reasons": [
{
"Description": null,
"Reason": "Store is not a fulfilment store",
"ProductIDs": [],
"OrderLineIDs": []
}
]
}
]
},
{
"SupplierOrganizationUnitID": 13,
"SupplierOrganizationUnitName": "Some warehouse",
"FulfillmentMethods": [
{
"Name": "StoreFulfillment",
"Reasons": [
{
"Description": null,
"Reason": "Store is not a fulfilment store",
"ProductIDs": [],
"OrderLineIDs": []
}
]
},
{
"Name": "WarehouseFulfillment",
"Reasons": [
{
"Description": null,
"Reason": "does not HasAvailableStock",
"ProductIDs": [
11111
],
"OrderLineIDs": [
123456
]
}
]
}
]
}
],
"ValidSuppliers": [
{
"Score": 100,
"FulfillmentMethod": "StoreFulfillment",
"SupplierID": 101,
"SupplierName": "Store 1",
"ScoreExplanations": [
{
"Description": "100 added to score of OrderLine due to a boost in the Order scope.",
"Expression": "score add 100\n",
"PreviousScore": 0,
"NewScore": 100,
"DeltaScore": 100,
"Variables": null
}
],
"FulfillableOrderLineIDs": [
59728
]
},
{
"Score": 80,
"FulfillmentMethod": "StoreFulfillment",
"SupplierID": 102,
"SupplierName": "Store 2",
"ScoreExplanations": [
{
"Description": "80 added to score of OrderLine due to a boost in the Order scope.",
"Expression": "score add 80\n",
"PreviousScore": 0,
"NewScore": 80,
"DeltaScore": 80,
"Variables": null
}
],
"FulfillableOrderLineIDs": [
123456
]
}
],
"Sheets": [
{
"ID": 10001,
"Name": "StoreFulfillment"
},
{
"ID": 10002,
"Name": "WarehouseFulfillment"
}
]
}
File paths
Data | Path |
---|---|
Financial events | /financialevents/Year/Month/Day/file-batch.json |
Financial periods | /financialperiods/FinancialPeriodID/Year/Month/Day/file.json |
General ledgers | /generalledger/Year/Month/Day/file-batch.json |
Orders | /orders/OrderNumber/Year/Month/Day/file.json |
Invoices | /invoices/InvoiceID/Year/Month/Day/file.json |
Organization units | /organizationunits/Year/Month/Day/file.json |
Prices | /prices/PriceListID/Year/Month/Day/file.json |
Products | /products/Year/Month/Day/file-batch.json |
Stock | /stock/OrganizationUnitID/Year/Month/Day/file.json |
Stock mutations | /stockmutations/StockMutationID/file.json |
Event ledgers | /eventledger/{Year}/{Month}/{Day} |
Users | /users/{Year}/{Month}/{Day} |
Fulfilment results | /fulfillmentresults/{orderID}/{year}/{month}/{day}/{guid}.json |