Receipt Line Format
Receipt data in transaction responses follows this format. Each line may contain up to three text elements with unique alignment, and sending an empty list results in an empty line.
Format
Receipt lines in the response are formatted as List<List<String>> where each inner list contains:
| Index | Description |
|---|---|
| [0] | Text content 1 |
| [1] | Text content 1 Font size (1-9, where 1=smallest, 9=largest) |
| [2] | Text content 1 Alignment (L=Left, C=Center, R=Right) |
| [3] | Text content 1 Style (N=Normal, B=Bold) |
| [4] | Text content 2 - OPTIONAL |
| [5] | Text content 2 Font size (1-9, where 1=smallest, 9=largest) - OPTIONAL |
| [6] | Text content 2 Alignment (L=Left, C=Center, R=Right) - OPTIONAL |
| [7] | Text content 2 Style (N=Normal, B=Bold) - OPTIONAL |
| [8] | Text content 3 - OPTIONAL |
| [9] | Text content 3 Font size (1-9, where 1=smallest, 9=largest) - OPTIONAL |
| [10] | Text content 3 Alignment (L=Left, C=Center, R=Right) - OPTIONAL |
| [11] | Text content 3 Style (N=Normal, B=Bold) - OPTIONAL |