UnbilledProducts (BRPT025)

Name convention

Unbilled Products

BRPT025_<CompanyNumber>_<DateTime>_0[Unbilled_<Term>_<BatchId>].DAT

Names ComponentDescription
CompanyNumberThe company number in PayEx ledger system
DateTimeDate created in format YYYYMMDDHHMMSS
Term

From witch argument the report is created by, Possible values:

NRP = Non recurrent products, products from PR01-file

U = Usage, traffic or events from CDR:s

UoNRP = Usage and non recurrent products

BatchIdThe identification number from the creation of the InvoiceJournal creation process ID

For example: 

BRPT025_9999_20070411163337_0[Unbilled_U_190187 ].DAT

BRPT025_9999_20070411163337_0[Unbilled_UoNRP_190187 ].DAT

The file is semicolon-separated.

Change log

VersionDateDescriptionCreated by
1.02020-09-20

First version.

Tomas Kristoffersson


General information and explanation of records

The report BRPT025 contains all unbilled "products" in PayEx Billing.

The report can be generated with three input variables, "Recurring Products" and/or "Usage" and/or "Non Recurring Products".

Record description

H - Header record

Field nameField no.FormatTypeDescription
Recordtype1HReq.Record type.
Company Number2X(15)Req.You receive the company number from PayEx.
Company Name3X(40)Req.Your company name.
Created date4X(10)Req.YYMMDD – Same date as in the file name.
Created time5X(8)Req.HH:MM:SS

Example:

H;1234;CompanyName;2020-09-23;12:20:00

I1 - Description record - usage

Field nameField no.FormatTypeDescription
Record type1I1Req.Information record Usage
CustomerId2CustomerIdReq.Customer number.
SubscriberId3SubscriberIdReq.The customer subscription number (a-number).
ProductGroupId4ProductGroupIdReq. 
UsageType5UsageTypeReq. 
VolumeCode6VolumeCodeReq. 
StartPeriod7StartPeriodReq. 
EndPeriod8EndPeriodReq. 
Quantity9QuantityReq. 
ChargedVolume10ChargedVolumeReq. 
TotalVolume11TotalVolumeReq. 
TotalCharge12TotalChargeReq. 

Example:

I1;CustomerId;SubscriberId;ProductGroupId;UsageType;VolumeCode;StartPeriod;EndPeriod;Quantity;ChargedVolume;TotalVolume;TotalCharge

D1 - Transaction record - usage

Field nameField no.FormatTypeDescription
Record type1D1Req.Record type Usage.
CustomerId2X(15)Req.Customer number.
SubscriberId3X(34)Req.The customer subscription number (a-number).
ProductGroupId4N(3)Req.Product group
UsageType5N(3)Req.Usage Type
VolumeCode6X(5)Req.Volume code
StartPeriod7YYYY-MM-DDReq.Start date period
EndPeriod8YYYY-MM-DDReq.End date period
Quantity9N(9)Req.Total quantity
ChargedVolume10N(9)Req.Charged volume
TotalVolume11N(9)Req.Total volume
TotalCharge12N(7).N(2-3)Req.Total charge

Example on the records appearance.

D1;12345;11111111;2;21;S;2020-01-01;2020-02-05;121;1000;850;1212.21

I2 - Description record – accumulated products

Field nameField no.FormatTypeDescription
Record type1I2Req.Record type Products.
CustomerId2CustomerIdReq.Customer number.
SubscriberId3SubscriberIdReq.The customer subscription number (a-number).
ProductGroupId4ProductGroupIdReq. 
StartPeriod5StartPeriodReq. 
EndPeriod6EndPeriodReq. 
Quantity7QuantityReq. 
TotalCharge8TotalChargeReq. 

Example:

I1;CustomerId;SubscriberId;ProductGroupId;StartPeriod;EndPeriod;Quantity;TotalCharge

D2 - Transaction record – accumulated products

Field nameField no.FormatTypeDescription
Record type1D2Req.Record type Products.
CustomerId2X(15)Req.Customer number.
SubscriberId3X(34)Req.The customer subscription number (a-number)
ProductGroupId4N(3)Req.Product group Id
StartPeriod5YYYY-MM-DDReq.Start date period
EndPeriod6YYYY-MM-DDReq.End date period
Quantity7N(9)Req.Quantity
TotalCharge8N(7).N(2-3)Req.Total Charge

Example on the records appearance.

D1;12345;11111111;2;2020-01-01;2020-02-05;121;1212.21

T - Trailer record

Field nameField no.FormatTypeDescription
Record type1TObl.Trailer record
Number of records2N(8)Obl.Total number of records including header and trailer

Example

T;10

Example of Unbilled Products Report

H;9999;Company2;2021-05-11;15:38:38
I1;CustomerId;SubscriberId;ProductGroupId;UsageType;VolumeCode;StartPeriod;EndPeriod;Quantity;ChargedVolume;TotalVolume;TotalCharge
D1;1001;0859086236;32;408;S;2021-02-23;2021-03-15;3;119;119;6.98
D1;1002;054836729;33;409;S;2021-03-14;2021-04-03;5;88;88;9.90
D1;1003;035130574;32;403;S;2020-12-10;2020-12-10;1;101;101;0.62
I2;CustomerId;SubscriberId;ProductGroupId;StartPeriod;EndPeriod;Quantity;TotalCharge
D2;1001;;40;2021-06-01;2021-06-30;1;39.00
D2;1092;0701722908;16;2021-05-01;2021-05-31;1;18.00
D2;1099;;40;2021-06-01;2021-06-30;1;39.00
T;10

VolumeCodes

VolumeCodeDescription
N/AUnknown
SSeconds
EEvent
BByte
KBKilobyte
MBMegabyte
GBGigabyte

 

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