Clearing File Generation and Reading with the ISO8583 Simulator

May 8, 2025 2 min read 12,528 views
Clearing File Generation and Reading with the ISO8583 Simulator

Clearing File Generation and Reading with the ISO8583 Simulator

The ISO8583 Card Payments simulator comes out of the box with clearing file generation, automatically, from the online ISO8583 transactions that it simulates.

By default, a clearing format is pre-defined, as well as an ISO8583 message.

Assuming that running online ISO8583 transactions is already working, the scope of this tutorial is how to create clearing files.

 

Step 0 

Check that clearing is enabled

Go to script_clearing.js and make sure 

clearing_enabled=true

 

Step 1

Open Clearing File and write clearing file header

Scroll down in your list of test cases for a test case that resembles "Open Clearing File and write clearing file header"

Execute it.

You should see a new clearing file created under folder "clearing", with the correct date and time, automatically.

The file header should aready be written in the file.

 

Step 2

Execure transactions as you want them to appear in the clearing file.

 

Step 3

Close Clearing File and write clearing file trailer

Scroll down in your list of test cases for a test case that resembles "Close Clearing File and write clearing file traile"

Execute it. 

You should the clearing file updated automatically.

The file trailer should aready be written in the file.

 

If you want to write another clearing file, you need to Open one again.

if you want to execute a clearing scenario, then Design a scenario that starts with "Open" test case, followed by the transactions that you want, and then the "Close" transaction at the end.

 

 

Tags:
ISO8583 card transaction clearing payments ipm ctf
  Related

Recent Articles on Ctf

Choose the product you need

ISO8583 Converter REST-api

Convert ISO8583 to rest-api JSON XML SQL &more

ISO8583 Interface Connector

Integrate ISO8583 card schemes and hosts

ISO20022 SWIFT MT MX Converter

Convert and integrate ISO20022 SWIFT MX with MT , ISO8583

ISO8583 Builder Parser Connector

Most simple solution to build and parse ISO8583 messages

ISO8583 Switch Router

ISO8583 or REST-api Switch Router Bin Amount

Card Payments Authorization

Pre-screen, pre-authorize and Authorize cards and ledger

POS Card Acquirer & Aggregator

Acquiring and Aggregating from POS and other devices

Cards Generator Issuing Host

Generate and export card data for cards issuing and test

ISO8583 Simulator

ISO8583 HISO98 HISO87 simulator

ISO20022 Simulator

ISO20022 & SWIFT simulator

POS Simulator

POS protocols simulator

Mobile Banking Simulator

Mobile Banking Testing Simulator

QR Payments Connector

EMV QR Payments Interface Connector

Micropayments Connector

Micropayments Acquiring Connector & Router

ISO8583 Alerts Notifications

Detect Anomalies, Alerts & Notifications

Clearing & Settlement

Generate Convert Import

Request a Quote

Get a free quote, Ask for details
Get help

Documentation

Read Documentation and Start guides

Online Tools

Online Tools Overview