Document Information | |
---|---|
File: | ATIONET-Native_Inventory_Protocol-Spec |
Doc Version: | 1.2 |
Release Date: | 31, August 2020 |
Author: | ATIONET LLC |
Change Log | ||
---|---|---|
Ver. | Date | Change Summary |
1.0 | 31/Aug/2020 | Initial version. Covers inventory and delivery messages. |
1.1 | 26/Nov/2021 | Update document - Response Code's - Deliveries insert request - Inventories insert request |
- 1 ATIOnet Integration Documentation Scope
- 2 Action Codes
- 3 Deliveries Insert (POST) - Body Section Format Request
- 4 Inventories Insert (POST) - Body Section Format Request
This specification is intended to document ATIONet’s Native Protocol messaging format and related features required for the systems applying for integration with ATIONet. The following sections provide descriptions of the messages themselves, the expected behaviour for each supported transaction type and a common ground for the functionality of each relevant item.
A computer system that is accessed by a user working at a remote location. In this document, Host is always the ATIONet Host.
An electronic merchant card processing device responsible for transaction capture, display output to the cashier and/or to the cardholder on screen and/or print format.
A client system that can send or receive data to and from ATIONet’s Host. A Controller controls or includes one or more terminal. When there is only one Terminal connected to a Controller, Terminal and Controller are equivalent.
Transaction Request.
Transaction Response.
Third-party systems integrate with ATIOnet via a set of APIs (Application Programming Interfaces). Each ATIOnet’s API is described on a separate Protocol Specification. The complete documentation of ATIOnet API’s is comprised of:
Covers financial transactions for transaction capture systems (payment terminals, site controllers and point of sale systems), including sales and refunds.
Describes a set of functions complementing the transaction-capture business, for example Batch or Shift Close. These functions enhance the capabilities of the integration but their implementation is not mandatory.
Third-party systems integrate with ATIOnet via a set of APIs (Application Programming Interfaces). Each ATIOnet’s API is described on a separate Protocol Specification. The complete documentation of ATIOnet API’s is comprised of:
Covers financial transactions for transaction capture systems (payment terminals, site controllers and point of sale systems), including sales and refunds.
Describes a set of functions complementing the transaction-capture business, for example Batch or Shift Close. These functions enhance the capabilities of the integration but their implementation is not mandatory.
The action code specifies what type of action will be executed when you enter a new request in the FMS.
Action Code | Description | |
---|---|---|
701 |
Title: |
Deliveries |
Function: |
Insert Deliveries request code |
|
Allowed for: |
FMSAPI |
|
702 |
Title: |
Inventories |
Function: |
Insert Inventories request code |
|
Allowed for: |
FMSAPI |
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
ActionCode | 3 | A/N | Required | See Action Codes section above |
TerminalCode | 50 | A/N | Required | Site’s Terminal identification code. |
Trama | X | X | Required | Delivery values |
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
TankNumber | 50 | A/N | Required | The tank number |
ProductCode | 50 | A/N | Required | The fuel code. It is associated with the site |
CreatedDateTime | 19 | A/N | Required | Delivery creation date time ("yyyy/MM/dd hh:mm:ss") |
StartingDateTime | 19 | A/N | Optional | Delivery start date time ("yyyy/MM/dd hh:mm:ss") |
EndingDateTime | 19 | A/N | Optional | Delivery end date time ("yyyy/MM/dd hh:mm:ss") |
StartingVolume | 10 | N | Optional | The starting volume |
StartingVolumeTC | 10 | N | Optional | The starting volume TC |
StartingWaterVolume | 10 | N | Optional | The starting water volume |
StartingTemperature | 10 | N | Optional | The starting temperature |
EndingVolumeTC | 10 | N | Optional | The ending volume TC |
EndingWaterVolume | 10 | N | Optional | The ending water volume |
EndingTemperature | 10 | N | Optional | The ending temperature |
StartingFuelHeight | 10 | N | Optional | The starting fuel height |
EndingFuelHeight | 10 | N | Optional | The ending fuel height |
TotalVolume | 10 | N | Required | The total volume |
TotalVolumeTC | 10 | N | Optional | The total volume TC |
InvoiceNumber | 50 | A/N | Optional | The invoice number |
Comments | 350 | A/N | Optional | Delivery Comments |
DeliveryNotesData | X | X | Optional | Delivery receipt values - see below |
GPSData | X | X | Optional | GPS Values - see below |
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
InvoiceNumber | 50 | A/N | Optional | The invoice number |
InvoiceItem | 50 | A/N | Optional | Invoice description |
InvoiceDate | 19 | A/N | Optional | Invoice date ("yyyy/MM/dd hh:mm:ss") |
PhysicalAmountRemitted | 10 | N | Optional | Physical amount remitted on invoice |
CompensatedAmountRemitted | 10 | N | Optional | Compensated amount remitted on invoice |
RealTemperature | 10 | N | Optional | The actual and exact temperature of the product when it is loaded into the truck |
ReferenceTemperature | 10 | N | Optional | It is for a calendar month and the average temperature of the place of delivery is taken. It is obtained from the national meteorological services of each country and it is with which the amount of the invoice is corrected |
Density | 10 | N | Optional | The density of the product at the time of being loaded into the truck |
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
LatitudeStart | 10 | N | Conditional | Start location: Latitude |
LongitudeStart | 10 | N | Conditional | Start location: Longitude |
AltitudeStart | 10 | N | Conditional | Start location: Altitude |
StartingGPSDate | 19 | A/N | Conditional | Start date of delivery location ("yyyy/MM/dd hh:mm:ss") |
LatitudeEnd | 10 | N | Conditional | End location: Latitude |
LongitudeEnd | 10 | N | Conditional | End location: Longitude |
AltitudeEnd | 10 | N | Conditional | End location: Altitude |
EndingGPSDate | 19 | A/N | Conditional | End date of delivery location ("yyyy/MM/dd hh:mm:ss") |
Note: The values aare conditioned to whether there is a value associated with it. For example, if you have a value for
the initial latitude, the values for the end and the date must be present.
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
ActionCode | 3 | A/N | Required | See Action Codes section above |
TerminalCode | 50 | A/N | Required | Site’s Terminal identification code. |
Trama | X | X | Required | Delivery values |
Field Name | Size | Type | Condition | Descriptions/Field Value(s) |
---|---|---|---|---|
TankNumber | 50 | A/N | Required | The tank number |
ProductCode | 50 | A/N | Required | The fuel code. It is associated with the site |
DateTime | 19 | A/N | Required | Inventory date time ("yyyy/MM/dd hh:mm:ss") |
Volume | 10 | N | Optional | The volume |
VolumeTC | 10 | N | Optional | The volume TC |
Ullage | 10 | N | Optional | The ullage |
WaterVolume | 10 | N | Optional | The water volume |
FuelHeight | 10 | N | Optional | the fuel height |
Temperature | 10 | N | Optional | The temperature |
WaterHeight | 10 | N | Optional | The water height |
Latitude | 10 | N | Optional | Location: Latitude |
Longitude | 10 | N | Optional | Location: Longitude |
Altitude | 10 | N | Optional | Location: Altitude |
Date | 19 | A/N | Optional | Location date ("yyyy/MM/dd hh:mm:ss") |