Name convention

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

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

For example: BPXPRODUCT_9999_20210123121243_00123[123456].DAT

Change log

VersionDateDescriptionCreated by
1.12021-02-23

Created document

Daniel Olsson


General information and explanation of records

The report BPXPRODUCT presents billed non recurring and recurring product on both customer and subscription level.

Format description

All fields 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.

Record description

H - Header record

Field nameField no.FormatTypeDescription
Recordtype1HReq.Header record.
CompanyNumber2N(4)Req.You receive the company number from PayEx.
CompanyName3X(40)Req.Your company name
Creationdate4N(6)Req.YYMMDD
Creationtime5N(4)Req.HHMM

T2 - Billed (Created in conjunction with the creation of the invoice basis)

Source system: BILLING

Field nameField no.FormatTypeDescription
Recordtype1T2Req. 
SubBillId2X(20)Req.InvoiceID-number at Payex
YearMonth3X(6)Req.Month when the product was invoiced. Not to be confused with the parameter invoicemonth.
CustomerNo4X(15)Req. 
SubscriberId5X(34)  
ProductGroupId6N(9)Req. 
ProductType7X(3)Req.

Global types: (I = Recurring product and E = Non recurring product)

I1: Product on customer level

I2: Product on subscriber level

E1: Product on customer level

E2: Infoproduct on customer level

E3: Product on subscriber level

E4: Infoproduct on subscriber level

E5: Non billable product on subscriber level

E6: Non billable product on customer level

ProductCodeBase8X(5) 

If recurring product then the product code from the base product.

If non recurring product then empty.

ProductCodeDeviation9X(5) 

If recurring product then the product code from the deviant product.

If non recurring product then empty.

ProductId10N(9) 

If recurring product then the products id in the Billing system.

If non recurring product then empty.

Description11X(150)Req. 
IdNumber12N(9) External id concept. (Identification_No in the PR file).
Volume13N(9)Req. 
TotalCharge14N(9).N(3)Req. 
StartDate15X(10) YYYY-MM-DD
EndDate16X(10) YYYY-MM-DD
VatRate17N(2).(2)Req. 
VatType18N(2)  
SortOrder19N(19)  
ExtProductId20X(16) 

If recurring product then empty.

If non recurring product then the products product id.

UnitPrice21N(9).(2-6)Req.Unit price.
UnitPriceVolumeCode22X(10)Req.“D” = Day, “M” = Month or “F” = invoice or “N/A” = volume code missing.
VolumeCode23X(10)Req.“D” = Day, “M” = Month or “F” = invoice or “N/A” = volume code missing.
ProvisionBasis24N(1)Req. 
SubBillRunid25N(9)Req. 

T5 - Delete (Created in conjunction with the reversion of the billing.)

Source system: BILLING

Billing that has been reversed.

Field nameField no.FormatTypeDescription
Recordtype1T5Req. 
SubBillRunId2N(9)Req. 

T51 - Delete (Created in conjunction with the reversion of billing using a BKB file)

Source system: BILLING

Billing that has been reversed.

Field nameField no.FormatTypeDescription
Recordtype1T51Req. 
SubBillId2X(20)Req.InvoiceID-number at Payex

S - Trailer record

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

 

Created by Anders Göthberg on 2024/03/13 15:11