Loading...
All messages are composed of two parts - header and data. The header part is mandatory, the data part is optional. Messages are started by <STX> and ended by <ETX> characters. Field separator <FS> is used to prefix every data field.
Example:
| Header only | <STX>B001S1APDA0514052908093800000000A5A5<ETX> |
|---|---|
| Header + data | <STX>B001S1APDA05140529084755000000091F01<FS>T00<FS>R060<ETX> |
Control characters:
| <STX> | 0x02 | Start of message |
|---|---|---|
| <ETX> <FS> | 0x03 0x1C | End of message Data field separator |
| <GS> | 0x1D | Group separator |
| <CR> | 0x0D | Carriage return |
| <SPC> | 0x20 | Space |
| <LF> | 0x0A | Line feed ('\n') |
The header contains the most important information about the message. It consists of:
Example header structure and detailed field descriptions for each header component.
The data part follows the header and contains transaction-specific information using Field ID (FID) notation. Each FID is prefixed by the <FS> character.