Client Interface Manual Client SiTef

Communication messaging layout

This section will present the formats that the messages generated by the requesting Terminal must have. TEF and the formats of the return messages generated by the SiTef Client with the confirmation or not of each transaction.

Messages will be transferred through a multi-line text file, where each line contains a type of information. The lines have a standard format and variable size. The generic format is:

AAA-BBBC=CDDDDDDD......DDDDDEF

Where:#

FormatDescription
AIdentification of the type of information or field.
BSequence number complementary to the type of information or field..
CPosition containing space or white.
DInformation (always aligned to the left, without filling in zeros or spaces).
ECarriage Return (CR) = 13 (according to the ASCII table).
FLine Feed (LF) = 10 according to the ASCII table).

The types of possible operations are:#

HeaderDescription of Operations
ADMAllows the Customer to be activated to perform administrative functions.
CRTAuthorization request for transaction by card (credit or debit)
CHQAuthorization request for transaction by check
CNCCancellation of sales made using any payment method
CNFSales confirmation and coupon printing
NCNNo confirmation of sale and/or printing.
PRECredit card pre-authorization
PGVVisaNet bill payment
PGBPayment of Banrisul charges.
PCBBill payment via banking correspondent.
EPHTransactions for E-Pharma Pharmacy.
INFTransactions for Pharmacy InfoCard.
VILTransactions for VidaLink Pharmacy
EMSEMS Transactions.
PPBPrepaid Card and Bonus Card
CELCell phone recharge.
SHLShell Card Transactions
TCNTrnCentre Transactions
PVSPrevSaúde Transactions
ACSPACSP Transactions
CSR10CSR10 Transactions
TRCP (Obsolete) Use the PROPRIETTransaction for Reading the Proprietary Card Trail
JGVJGV Transactions
CONSCREDPre-Approved Credit Consultation Transaction (DMCARD)
CONSPGENInvoice Payment Consultation
CRTFIEDLFidelity Transactions
FTCFTC Network Fidelity Transactions
PROPRIETTransaction for Validation and Capture of Owner Card Data, and can also capture the password for the owner card.
WAYUPWAYUP Transactions
PICPAYPicpay network transactions
GETNETLAGetNetLAC network transactions

It is worth mentioning here that sales cancellation can be done in two ways: through an ADM operation, or then through a CNC operation, with the TEF requesting Terminal being responsible for how the cancellation will be accessed.

In the next sections, the types of information (or fields) that may be present in the files sent and received by the TEF requesting Terminal. The information (or fields) varies depending with the type of operation, and all fields present in the file are optional, as the SiTef Client is able to collect all the data necessary for the transactions it carries out. However, the fields present in the received file by the SiTef Client will be preserved in the return file and the SiTef Client will only include in this file the fields pertinent to the response of the operation performed and not the data collected by the program to carry out the transaction.

Note that the automation application must be prepared to receive and ignore the types of records it don't know. This feature is important to maintain compatibility with future versions.

When there is a discrepancy between the content of the field sent by the TEF requesting Terminal and that received by the SiTef Client will be worth that of the SiTef Client.