Name convention
BRCP013_<CompanyNumber>_<DateTime>_0[ReceiptRating_<BatchId>].DAT
Names Component | Description |
---|---|
CompanyNumber | The company number in PayEx ledger system |
DateTime | Date created in format YYYYMMDDHHMMSS |
ReceiptRating | File description |
BatchId | Billing process Id |
For example: BRCP013_12345_20200309110841_0[ReceiptRating_2746770].DAT
Change log
Version | Date | Description | Created by |
---|---|---|---|
1.1 | 2020-12-02 | Created document | Daniel Olsson |
1.2 | 2021-09-14 | Three new "Information codes" added (651, 651, 653) | Daniel Olsson |
General information and explanation of records
This receipt is based on receipt values resulting from Billing rating and slush rating process.
The report may contain results including duplicate CDRs. Duplicate CDRs will be removed in the bill run process.
Format description
All fields in the mentioned report are separated with semicolons ”;”. Sort order is sequence number. 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.
Record description
H - Header record
Field name | Field no. | Format | Type | Description |
Record type | 1 | H | Req. | Record type |
Company number | 2 | N(5) | Req. | You receive the company number from PayEx. |
Company name | 3 | X(40) | Req. | Your company name. |
Process Id | 4 | N(10) | Req. | Process Id from rating process |
Created date | 6 | N(6) | Req. | YYMMDD – Same date as in the file name. |
Created time | 7 | N(4) | Req. | HHMM – Time when the file was created. |
I - Information record
Field name | Field no. | Format | Type | Description |
Record type | 1 | I | Req. | Information record type |
Code | 2 | N(15) | Req. | Information code |
Description | 3 | X(1000) | Req. | Description of information code |
Value | 4 | X(300) | Req. | Value |
W - Warning record
Field name | Field no. | Format | Type | Description |
Record type | 1 | W | Req. | Warning record type |
Code | 2 | N(15) | Req. | Warning code |
Description | 3 | X(1000) | Req. | Description of warning code |
Value | 4 | X(300) | Req. | Value |
S - Trailer record
Field name | Field no | Format | Type | Description |
Record type | 1 | S | Req. | Record type |
Total number of records | 2 | N(8) | Req. | Number of records, header record, description record and trailer record included. |
Example
H;12345;Company name;3724419;210917;1002
I;249;Name of processed file: ;CDRF5_12345_210917080725_11436.DAT
I;251;Name of file format group:;CDRF5
I;650;Ordered error limit:;100%
I;254;CDR date interval from date:;2021-09-14 05:53:36
I;255;CDR date interval until date:;2021-09-17 09:06:11
I;256;Total number of processed CDRs:;1549
I;258;Total amount of charge in file: ;46998.09
I;282;Total amount added to unbilled:;46969.09
I;283;Traffic cost amount of total amount:;44771.68
I;284;Start fee amount of total amount:;2197.41
I;300;Total number of CDRs added to unbilled:;1548
I;315;Total number of processed seconds:;168556
I;316;Total number of processed event:;1062
I;317;Total number of processed volume (byte):;517944138
I;651;Total number of seconds added to unbilled:;168556
I;652;Total number of events added to unbilled:;1061
I;653;Total number of volume added to unbilled (byte):;517944138
W;260;Unknown identifier:;1
S;20
Result codes
Information codes
Code | Description |
249 | Name of processed file |
251 | Name of file format group |
650 | Ordered error limit |
256 | Total number of processed CDR(s) |
315 | Total number of processed seconds |
316 | Total number of processed event |
317 | Total number of processed volume (byte) |
254 | CDR date interval from date |
255 | CDR date interval until date |
258 | Total amount of charge in file |
274 | Removed by age criteria |
271 | Removed by rules |
318 | Total number of cloned CDR(s) |
300 | Total number of CDRs added to unbilled |
282 | Total amount added to unbilled |
283 | Traffic cost amount of total amount |
284 | Start fee amount of total amount |
651 | Total number of seconds added to unbilled |
652 | Total number of events added to unbilled |
653 | Total number of volume added to unbilled (byte) |
Warning codes
Code | Description |
309 | Missing matching content provider |
259 | Missing destination i DP file |
260 | Unknown identifier |
262 | Identifier uses unknown pricelist |
261 | CDR timestamp not in active subscription |
263 | CDR timestamp not in active pricelist version |
264 | Unknown roaming operator code (PLMN) |
311 | Country not member in company defined roaming zone |
427 | Unknown content provider |
313 | Charge on hidden usage |
314 | Untreatable CDR |