Skip to main content

What changes

What gets dropped

Fields are dropped, never truncated, and each drop has a reason in result.dropped:
  • Field 52 (PIN data) when the PIN block size differs (8, 16 or 32 bytes). A PIN block can’t be padded to a new size. Re-encrypt it for the target version, for example as a format 4 block with iso8583sim.security.encrypt_pin_block.
  • Field 53 (security control information) when its definition differs.
  • Fields 64 and 128 (MAC). The MAC covers the whole message, so it must be recomputed after conversion with ISO8583Builder.build_with_mac.
  • Values that don’t fit, such as a 60 character field 43 converted to 1987, where field 43 is a fixed 40 characters.
  • Fields not defined in the target version.

Notes

Fields 57 to 59 are reserved in 1987 but have defined meanings in 2003 (for example, field 57 is the Authorization Life Cycle Code). Their values are carried over, with a note to check that the value still means the same thing. A message converted to another version and back reproduces the original exactly, as long as nothing was dropped.

CLI

See the CLI reference.