Rev.Reports (BRPT005,006,007,035)

Name convention

Revenue reports

BRPT005_<CompanyNumber>_<DateTime>_0[RevenueReport_NRP_<BatchId>].DAT

BRPT006_<CompanyNumber>_<DateTime>_0[RevenueReport_U_<BatchId>].DAT

BRPT007_<CompanyNumber>_<DateTime>_0[RevenueReport_RP_<BatchId>].DAT

BRPT035_<CompanyNumber>_<DateTime>_0[RevenueReport_Calls_<BatchId>].DA

Names ComponentDescription
CompanyNumberThe company number in PayEx ledger system
DateTimeDate created in format YYYYMMDDHHMMSS
BatchIdThe identification number from the creation of the InvoiceJournal creation process ID

For example: 

BRPT005_99999_20210308093539_0[RevenueReport_NRP_1234567].DAT

BRPT006_99999_20210308093539_0[RevenueReport_U_1234567].DAT

BRPT007_99999_20210308093539_0[RevenueReport_RP_1234567].DAT

BRPT035_99999_20210308093539_0[RevenueReport_Calls_1234567].DAT

The file is semicolon-separated.

Change log

VersionDateDescriptionCreated by
1.02019-08-01

First version.

Tomas Kristoffersson


General information and explanation of records

The "revenue reports" contains information about 4 different reports from the PayEx billingsystem regarding billed products and usage. These reports can be generated

on billmonth or billrun.

  • BRPT005 RevenueReport_NRP, customer usage based on one-time fees/credits
  • BRPT006 Report, Usage based on call type
  • BRPT007 RevenueReport_RP, customer usage based on recurring fees/credits
  • BRPT035 RevenueReport_Usage, customer usage based om call type in combination with pricelistinformation

Format description

All fields in the mentioned reports are separated with semicolons ”;”. Sort order is Customer 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 descriptions

BRPT005 (NRP)

This report is based on information sent to PayEx in the product file. Products can occure on either customer- and/or a-number level (based on how it is defined in the product file).

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Record type
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name.
Billing cycle4N(10) YYYY-MM-DD – Billing cycle
BatchID5N(10) BatchID
Created date6N(6)Req.YYMMDD – Same date as in the file name.
Created time7N(4)Req.HHMM – Time when the file was created.

Example on the records appearance.
H;99999;CompanyName;2020-12-01; 00123; 181206;1200

B - Description record (NRP)

Field nameField no.FormatTypeDescription
Record type1BReq.Record type
Customer number2KundNrReq.Customer number.
MSISDN number3A-nrReq.The customers subscription number (a-number).
Id-number4IdentifikationsNrReq.A description of the Id-number .
Description5KlartextReq.Product description
From date6Fom-datumReq.From date
To date7Tom-datumReq.To date
Number of products8AntalReq.The number of products of the product.
Amount9AprisReq.The total amount for the product. (price * number of products)

Example on the records appearance.
B;Kundnr;A-nr;Identifikationsnr;Klartext;Fom-datum;Tom-datum;Antal;aPris

T - Transaction record (NRP)

Field nameField no.FormatTypeDescription
Record type1TReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34)Req.The customers subscription number (a-number).
Id-number4N(5)Req.A description of the Id-number .
Description5X(120)Req.Product descripition
From date6N(10)Req.From date
To date7N(10)Req.Todate
Number of products8N(10)Req.The number of products of the product.
Amount9N(17).N(2-3)Req.The total amount for the product.

Example on the records appearance.
T;1234567;0703123456;20;l0;250.000

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type
Total number of records2N(8)Req.Number of records, header record, description record and trailer record included.
Number of records3N(8)Req.Number of records header record, description record and trailer record excluded.

Example on the records appearance.
S;23;20

BRPT006 (U)

This report contains information about invoiced calls sorted on customer number and calltype.

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Record type
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name.
Billing cycle4N(10) YYYY-MM-DD – Billing cycle
BatchID5N(10) BatchID
Created date6N(6)Req.YYMMDD – Same date as in the file name.
Created time7N(4)Req.HHMM – Time when the file was created.

Example on the records appearance.
H;99999;CompanyName;2019-01-01;123456;181201;1200

Description record (U)

Field nameField no.FormatTypeDescription
Record type1BReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34)Req.The customers subscription number (a-number).
Call Type4X(3)Req.A description of the used call type.
Number of calls5N(10)Req.The number of calls to the call type.
Off-PeakSec7N(19)Req.The volume in seconds made on off-peak for the call type.
PeakSec6N(19)Req.The volume in seconds made on peak for the call type.
Amount8N(17).N(2-3)Req.The total amount for the consumed time for the call type.

Example on the records appearance.
B;KundNr;A-nr;Samtalstyp;Antal;Off-PeakSec;PeakSec;Amount

T - Transaction record (U)

Field name Field no.FormatTypeDescription
Record type 1TReq.Record type
Customer number 2X(15)Req.Customer number.
MSISDN number 3X(34)Req.The customers subscription number (a-number).
Call Type 4N(3)Req.A description of the used call type.
Number of calls 5N(10)Req.The number of calls to the call type.
PeakSec 6N(19)Req.The volume in seconds made on peak (price) for the call type.
Off-PeakSec 7N(19)Req.The volume in seconds made on off-peak (price) for the call type.
Amount 8N(17).N(2-3)Req.The total amount for the consumed volume for the call type.

Example on the records appearance.
T;1234567;0703123456;15;l0;123;15;24.500

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type
Number of T-records3N(8)Req.Number of T-records.
Number of records2N(8)Req.Number of records, header record, description record and trailer record included.

Example on the records appearance.
S;20;23

BRPT006 (U/Peak)

This report contains information about invoiced calls sorted on customer number and calltype.

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Record type
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name.
Billing cycle4N(10) YYYY-MM-DD – Billing cycle
BatchID5N(10) BatchID
Created date6N(6)Req.YYMMDD – Same date as in the file name.
Created time7N(4)Req.HHMM – Time when the file was created.

Example on the records appearance.
H;99999;CompanyName;2020-01-01; 123456; 181201;1200

B - Description record (U/Peak)

Field nameField no.FormatTypeDescription
Record type1BReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34) ?Req.The customers subscription number (a-number).
Call Type4X(3)Req.A description of the used call type.
Number of calls5N(10)Req.The number of calls to the call type.
PeakSec6N(19)Req.The volume in seconds made on peak (price) for the call type.
Semi-PeakSec7N(19)Req.The volume in seconds made on semi-peak (price) for the call type.
Off-PeakSec8N(19)Req.The volume in seconds made on off-peak (price) for the call type.
Amount9N(17).N(2-3)Req.The total amount for the consumed time for the call type.

Example on the records appearance.
B;KundNr;A-nr;Samtalstyp;Antal;PeakSec;Semi-PeakSec;Off-PeakSec;Amount

T - Transaction record (U/Peak)

Field nameField no.FormatTypeDescription
Record type1TReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34)Req.The customers subscription number (a-number).
Call Type4N(3)Req.A description of the used call type.
Number of calls5N(10)Req.The number of calls to the call type.
PeakSec6N(19)Req.The volume in seconds made on peak (price) for the call type.
Semi-PeakSec7N(19)Req.The volume in seconds made on semi-peak (price) for the call type.
Off-PeakSec8N(19)Req.The volume in seconds made on off-peak (price) for the call type.
Amount9N(17).N(2-3)Req.The total amount for the volume for the call type.

Example on the records appearance.
T;1234567;0703123456;15;l0;123;15;0;24.500

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type
Number of T-records3N(8)Req.Number of T-records.
Number of records2N(8)Req.Number of records, header record, description record and trailer record included.

Example on the records appearance.
S;20;23

BRPT007 (RP)

This report is based on billed fees which has been sent to PayEx as recurring fees by the customer file. Products can occure on either on a customer- or a-number level. Recurring fees can be billed on both customerlevel and a-number level.

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Record type
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name.
Billing cycle4N(10) YYYY-MM-DD – Billing cycle
BatchID5N(10) BatchID
Created date6N(6)Req.YYMMDD – Same date as in the file name.
Created time7N(4)Req.HHMM – Time when the file was created.

Example on the records appearance.
H;99999;CompanyName;2018-12-01; 00123; 181206;1200

B - Description record (RP)

Field nameField no.FormatTypeDescription
Record type1BReq.Record type
Customer number2KundNrReq.Customer number.
MSISDN number3A-nrReq.The customers subscription number (a-number).
Id-number4IdentifikationsNrReq.A description of the Id-number .
Product code5ProduktReq.Product code.
Number of products6AntalReq.The number of products of the product.
Amount7BeloppReq.The total amount for the product.

Example on the records appearance.
B;KundNr;A-nr;IdentifikationsNr;Produkt;Antal;Belopp

T - Transaction record (RP)

Field nameField no.FormatTypeDescription
Record type1TReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34) The customers subscription number (a-number).
Id-number4N(5) A description of the Id-number .
Product code5N(5)Req.Product code.
Number of products6N(10)Req.The number of products of the product.
Amount7N(17).N(2-3)Req.The total amount for the product.

Example on the records appearance.
T; 1234567;0703123456;;P01;480;0.000

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type
Total number of records2N(8)Req.Number of records, header record, description record and trailer record included.
Number of records3N(8)Req.Number of records, header record, description record and trailer record excluded.

Example on the records appearance.
S;23;20

BRPT035 (Calls)

This report contains information about invoiced calls with connected pricelists.

H - Header record

Field nameField no.FormatTypeDescription
Record type1HReq.Record type
CompanyNumber2N(5)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name.
Billing cycle4N(10) YYYY-MM-DD – Billing cycle
BatchID5N(10) BatchID
Created date6N(6)Req.YYMMDD – Same date as in the file name.
Created time7N(4)Req.HHMM – Time when the file was created.

Example on the records appearance.
H;99999;CompanyName;2020-12-01; 00123; 181206;1200

B - Description record (Calls)

Field nameField no.FormatTypeDescription
Record type1BReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34) ?Req.The customers subscription number (a-number).
Call Type4X(3)Req.A description of the used call type.
Number of calls5N(10)Req.The number of calls to the call type.
PeakSec6N(19)Req.The volume in seconds made on peak (price) for the call type.
Semi-PeakSec7N(19)Req.The volume in seconds made on semi-peak (price) for the call type.
Off-PeakSec8N(19)Req.The volume in seconds made on off-peak (price) for the call type.
Amount9N(17).N(2-3)Req.The total amount for the consumed time for the call type.
Pricelist10X(10)Req.Pricelist used to rate call.

Example on the records appearance.
B;CustomerNo.;MSISDN;Calltype;No.OfCalls;PeakSec;Semi-PeakSec;Off-PeakSec;Amount;Pricelist

T - Transaction record (Calls)

Field nameField no.FormatTypeDescription
Record type1TReq.Record type
Customer number2X(15)Req.Customer number.
MSISDN number3X(34)Req.The customers subscription number (a-number).
Call Type4N(3)Req.A description of the used call type.
Number of calls5N(10)Req.The number of calls to the call type.
PeakSec6N(19)Req.The volume in seconds made on peak (price) for the call type.
Semi-PeakSec7N(19)Req.The volume in seconds made on semi-peak (price) for the call type.
Off-PeakSec8N(19)Req.The volume in seconds made on off-peak (price) for the call type.
Amount9N(17).N(2-3)Req.The total amount for the volume for the call type.
Pricelist10X(10) Pricelist used to rate call.

Example on the records appearance.
T;1234567;0703123456;15;l0;123;15;0;24.500;PRICE

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type
Number of T-records3N(8)Req.Number of T-records.
Number of records2N(8)Req.Number of records, header record, description record and trailer record included.

Example on the records appearance.
S;20;23

 

Created by Anders Göthberg on 2021/05/18 09:23