Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that moments should be UTC #175

Merged
merged 1 commit into from
Mar 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/general/data-structures/data-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The information necessary for processing of a receipt is provided through the co
| `ftPosSystemId` | `guid/string` | null<br />optional | This field identifies and documents the type and software version of the PosSystem sending the request. It is used for audits and as a base for commission calculation. The PosSystem itself has to be created in the portal and its ID can be implemented as a constant value by the PosCreator. | 0- |
| `cbTerminalID` | `String`<br />Max 1k | empty-string<br />mandatory | The unique identification of the input station/ cash register within a ftCashBoxID | 0- |
| `cbReceiptReference` | `String`<br />Max 1k | empty-string<br />mandatory | Reference number returned by the cash register. Ideally, this value would be a unique receipt number for the cash register, to allow saving of the return value to the cash register data set. | 0- |
| `cbReceiptMoment` | `DateTime` | null<br />mandatory | The time of receipt creation. Must be provided in UTC. | 0- |
| `cbReceiptMoment` | `DateTime` | null<br />mandatory | The time of receipt creation. Must be provided in UTC, e.g. `2020-06-29T17:45:40.505Z`. | 0- |
| `cbChargeItems` | `ChargeItem[]` | null<br />mandatory | List of services or items sold. | 0- |
| `cbPayItems` | `PayItem[]` | null<br />mandatory | List of payment received. | 0- |
| `ftReceiptCase` | `Int64` | 0<br />mandatory | Type of business transaction ac-cording to the [reference table](../reference-tables/reference-tables.md#t-service-status-ftstate-22) in the appendix. It is used to choose the right processing logic. | 0- |
Expand Down Expand Up @@ -148,7 +148,7 @@ The details of fields supported by this data structure are outlined in the table
| `Unit` | `String`<br />Max 1k | empty-string<br />optional | Unit of measurement | 0- |
| `UnitQuantity` | `Decimal`? | null<br />optional | Quantity of the service(s) of receipt entry, displayed in indicated units. | 0- |
| `UnitPrice` | `Decimal`? | null<br />optional | Gross price per indicated unit. | 0- |
| `Moment` | `DateTime` | null<br />optional | Time of service (year, month, day, hour, minute, second) | 0- |
| `Moment` | `DateTime` | null<br />optional | Time of service (year, month, day, hour, minute, second). Must be provided in UTC, e.g. `2020-06-29T17:45:40.505Z`. | 0- |

<span id="_Ref527915365" class="anchor"></span>*Table 5. Charge Items Entry (ftChargeItems)*

Expand Down Expand Up @@ -199,7 +199,7 @@ The ftPayItemCase field is particularly important for the correct processing of
| `CostCenter` | `String`<br />Max 1k | empty-string<br />optional | Indicator for transfer into cost accounting (type, centre and payer) | 0- |
| `MoneyGroup` | `String`<br />Max 1k | empty-string<br />optional | This value allows the logical grouping of payment types | 0- |
| `MoneyNumber` | `String`<br />Max 1k | empty-string<br />optional | This value identifies the payment type | 0- |
| `Moment` | `DateTime`? | now<br />optional | Time of payment | 0- |
| `Moment` | `DateTime`? | now<br />optional | Time of payment. Must be provided in UTC, e.g. `2020-06-29T17:45:40.505Z`. | 0- |

<span id="_Toc510009094" class="anchor"></span>*Table 6. Pay Items Entry*

Expand Down