Name convention

BPXINVOICE_<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: BPXINVOICE_9999_20210123121243_00123[123456].DAT

Change log

VersionDateDescriptionCreated by
1.12021-02-23

Created document

Daniel Olsson
1.22024-03-13Extended number of characters to 75 for field 6 (Detailifo) in T1-recordJacob de Boer


General information and explanation of records

BPXINVOICE01 files provide information about invoices from the PayEx billing system during billruns and reversed billruns.

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.

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

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

Source system: BILLING

Field nameField no.FormatTypeDescription
Recordtype1T1Req.Recordtype
SubBillId2X(20)ReqInvoiceID-number at Payex
CustomerNo3X(15)ReqCustomerNo
InvoiceNo4X(40)ReqInvoiceNo
InvoiceDate5X(10)ReqInvoiceDate YYYY-MM-DD
DistributionDate6X(10)ReqDistributionDate YYYY-MM-DD
MinUsageDate7X(10) MinUsageDate YYYY-MM-DD
MaxUsageDate8X(10) MaxUsageDate YYYY-MM-DD
SubBillRunId9N(9)ReqSubBillRunId

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

Source system: BILLING

Billing that has been reversed.

Field nameField no.FormatTypeDescription
Transactionstype1T5Req.Transactiontype
SubBillRunId2N(9)Req.SubBillRunId

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:12