Name convention

BPXSLUSH_<CompanyNumber>_<DateTime>_<SEQNO>[<BatchId>].DAT

Names ComponentDescription
CompanyNumberThe company number in PayEx ledger system
DateTimeDate created in format YYYYMMDDHHMMSS
SEQNOUnbroken serial number sequence.
BatchIdBilling process Id

For example: BPXSLUSH_99999_2020040523121243_00123[123456].DA

Change log

VersionDateDescriptionCreated by
1.22021-02-23

Created document

Daniel Olsson


General information and explanation of records

The report BPXSLUSH is a part of the billing error correction system. When logical error occurs in rating system, such as “Missing destination code in DP file” or “Identifier is missing in customer set”, the CDR record is put in suspense (Slush file).

The BPXSLUSH report contains information about unsuccessful rated CDRs and the associated reason why they failed.

Records in the BPXSLUSH report contain individual CDR information and information about from which CDR file the CDR was originated

The report is produced during normal rating and when the Slush set get reprocessed.

Logic

Logic rating

When a CDR file is processed (normal rating) and a CDR cannot be processed due to a logical error, only T1 records will be presented in the BPXSLUSH report. T1 records indicate that new CDRs have logical error and will be added to the Slush file.

Logic re-rating

When the Slush file is processed (re-rating), the first record in BPXSLUSH report is a T6-record. T6 record indicates that all the T1 records in the report will represent the entire Slush file. The receiving system can replace all previous records for this slush file ID.

File description

All fields in the mentioned reports are separated with semicolons ”;”. The format field is written in the way that numerical values are written as N and alphanumerical characters are written as X. where ”n” is the maximum number of characters/digits or in certain cases number of characters that must exist.

Dot “.” is decimal separator on fields with amount. Some records are not obligatory but if they exist can some fields in the record be obligatory. Obligatory records are described with the abbreviation ” Req.” in the type column.

H - Header record

Field nameField no.FormatTypeDescription
Recordtype1HReq.Header record.
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name
Creationdate4N(6)Req.YYMMDD– Same date as in the file name
Creationtime5N(4)Req.HHMM – Time when the file was created.

T - Usage records

Below you will find a description of the different usage records

T1 - Adding new slush record after rating process

Field nameField no.FormatTypeDescription
Recordtype1T1Req.Recordtype
CDRId2N(19)Req.Unique ID on CDR. Default created by Payex
YearMonth3YYYYMMReq.YYYYMM
ErrorCode4N(9)Req.Errorcode See Errorcodes
FileName5X(100)Req.Original file name
RowNumber6N(9)Req.Row number in the original cdr CDR file
ProcessId7N(9)Req.Payex processID for rating
CompanyNumber8N(8)Req.Company number
FileFormatgroup9N(8)Req.Groupnumber where rating has been processed
FileFormatName10X(20)Req.Fileformat for CDR-file
SlushFileId11N(9)Req.Identification number for file name (Slush)
FileExtension12X(100) Additional file extension
CustomerNumber13X(15) Identification number from customer information
SubscriberID14X(19)Req.Identification for CDR. (Customer,ANR/IMSI/CLI)
StartDateSubscription15YYYY-MM-DD Subscription start date
EndDateSubscription16YYYY-MM-DD Subscription end date
UsageType17X(10) Type of usage. See Usage codes
Details18X(25) Dialed number (BNR or Specifikationstext)
DestinationCode19X(15) Destinationcode for ”perfect match”
DestinationMatchingMethod20N(2) Method to match search string (BNR) to destination code. See Destination match methods
StartDestinationscode21X(15) Destination code for startfee
StartDateTime22YYYY-MM-DD HH:MM:SSReq.Date and time of call start, "timestamp"
Charge23N(9).(3) Initial cost of the call. From the CDR's charge field
Volume24N(19)Req.Volume: number, seconds, mb etc. depending on volume code
Volumecode25X(10) Volume column unit. See Volume codes
VAT26N(2).(2) The VAT rate of the call
IpAddress27X(15) Ip Address
External reference28X(20) External CDR Id or other reference from CDR file
PLMNcode29X(10) Code used for roaming that informs about which foreign operator was used.
PriceListMinuteFee30X(10) Price list note used for the minute fee. Only suitable for error code 26
PriceListStartFee31X(10) Price list designation used for the startup fee. Only sutable for error code 26
ServiceProvider32X(25) Code that identifies a service provider
CountryCode33X(3) Code used for roaming that informs about from which country the call has been made
PortabilityDirectionPrefix34X(8) Route Portability Direction Prefix (BNET)
Tariff35N(1) Code for tariff used for the start of the call. Only suitable for error code 26. See Tariff codes
DPFileVersion36YYYY-MM-DD Version of the DP file used for the call. Only suitable for error code 26
Error code description37X(300) Description of error category
Reserved38   
Reserved39   
Reserved40   

T3 – Remove record during rating process

This record will be used if there are CDRs deleted from Slush set. The T3 record can also be used when CDRs are removed directly from the CDR process.

Field nameField no.FormatTypeDescription
Recordtype1T3Req.Recordtype
CDRId2N(19)Req.Unique ID on CDR. Default created by Payex
YearMonth3YYYYMMReq.YYYYMM
Code4N(9)Req.See Error codes
FileName5X(100)Req.Original file name
RowNumber6N(9)Req.Row number in the original CDR file
ProcessId7N(9)Req.PayEx process ID for rating
CompanyNumber8N(8)Req.Company number
FileFormatgroup9N(8)Req.Group number where rating has been processed
FileFormatName10X(20)Req.Fileformat for CDR-file
SlushFileId11N(9)Req.Identification number for file name (Slush)
FileExtension12X(100) Additional file name extension
CustomerNumber13X(15) Identification number from customer information
SubscriberID14X(19)Req.Identification for CDR. (Customer,ANR/IMSI/CLI)
External reference15X(20) External CDRId or other reference from CDR file
StartDateTime16YYYY-MM-DD HH:MM:SSReq.Date and time of call start, "timestamp"
Error code description17X(300) Description of error category
Source for delete18X(1)Req.0 = Removed directly from CDR file, 1 = Removed from existing Slush set
Reserved19   
Reserved20   
Reserved21   

T6 - Delete slush record directive.

The T6 record is used for total synchronization of Slush set in the receiving system. The T6 record indicates that complete Slush set will follow in the file. Following T1 entries will replace previously loaded entries.

T6 record is only produced when processing the Slush file in PayEx billing system

Field nameField no.FormatType Description
Recordtype1T6Req. Delete record
SlushFileId2NReq. Identification number for the Slush set (part of Slush file name)

S - Trailer record

Field nameField no.FormatTypeDescription
Recordtype1SReq.Trailer record
Number of records2N(9)Req.Total number of records including header and trailer

Example

H;123456;Company name;201202;1539
T3;15924707952557681;202008;420;CDRF5_123456_200922093247_00001.DAT;231735;696295;123456;123456;CDRF5;1608;;CustNo1;Subscr1;1036;2020-08-21 15:27:07;Deleted calls;1;;;
T6;1608
T1;4880930000000017;202009;71;CDRF5_123456_200930195553_00001.DAT;16;709008;123456;123456;CDRF5;1608;;CustNo1;Subscr1;;;VO;4608;DESTKOD1;1;;2020-09-30 19:44:15;0.140;12;S;25.00;;1037;;;;;;;;;Warning: No suitable destination code in DP-file (Perfect match).;;;
T1;4880930000000018;202009;71;CDRF5_123456_200930195553_00001.DAT;17;709008;123456;123456;CDRF5;1608;;CustNo1;Subscr1;;;VO;4608;DESTKOD2;1;;2020-09-30 19:47:12;0.080;7;S;25.00;;1038;;;;;;;;;Warning: No suitable destination code in DP-file (Perfect match).;;;
T1;4880930000000035;202010;45;CDRF5_123456_200930195553_00001.DAT;31;709008;123456;123456;CDRF5;1608;;CustNo1;Subscr1;;;VO;4608;1111;1;;2020-10-01 07:00:14;3.100;270;S;25.00;;1039;OOOOO;;;;;;;;Warning: Unknown GSM operator.;;;
T1;5431024000000085;202010;73;CDRF5_123456_200930195553_00001.DAT;33;709008;123456;123456;CDRF5;1608;;CustNo1;Subscr1;;;VO;460900;2222;1;;2020-10-24 11:24:05;47.420;143;S;0.00;;1040;;;;CP_xyz;;;;;Warning: Unknown content provider.;;;
S;8

Translation tables

Error codes

Error CodeDescriptionRelated to receipt code
21Warning: Subscriber uses an unknown pricelist.262
24Warning: Unknown subscriber.260
25Warning: Unknown subscriber at the time of the record.261
26Warning: Missing destination or pricelist at the time of the record.263
36Warning: Missing destination or pricelist at the time of the record.263
40Warning: Unknown subscriber (IMSI) at the time of the record.261
41Warning: Unknown subscriber (IMSI).260
45Warning: Unknown GSM operator.264
55Warning: Unknown GSM operator.264
60Warning: No suitable destination code in DP-file.259
61Warning: No suitable destination code in DP-file (Perfect match).259
64Warning: Country not member in companydefined roamingzones.311
65Warning: Charge on hidden traffic. Not allowed.313
70Warning: No suitable destination code in DP-file.259
71Warning: No suitable destination code in DP-file (Perfect match).259
73Warning: Unknown content provider.427
74Warning: Country not member in companydefined roamingzones.311
75Warning: Charge on hidden traffic. Not allowed.313
76Warning: CDR is untreatable at the moment.314
81Warning: Missing matching content provider309

Information codes

Information CodeDescriptionRelated to receipt code
420Removed by age criteria274

Usage code

Usage codeUsage code description
VOVoice call Originated
VTVoice call Terminated
SMSMOSMS Originated
SMSMTSMS Terminated
MMSMOMMS Originated
MMSMTMMS Terminated
GPRSGPRS
SMSKVSMS confirmation
SVCService

Destination match methods

MethodCodeMethod
1Perfect Match
2Dynamic match priority 1
3Dynamic match priority 2
4Dynamic match priority 3
5Dynamic match, requires agreement with PayEx for setup

Volume codes

Volume Unit CodeUsed text
N/AUnknown volume unit
SSeconds
EEvent
BByte
KBKilobyte
MBMegabyte
GBGigabyte

Tariff codes

Tariff codeUsed text
0Unknown/Not used
1Low
2Mediumhigh
3High

 

Created by Anders Göthberg on 2021/04/14 10:59