CreditInvoiceReport (BRPT050)

Name convention

BRPT050_<CompanyNr>_<DateTime>_0[CreditInvoiceReport_<BatchId>].DAT

NameDescription
CompanyNrThe company number in PayEx ledger system
DateTimeDate created in format YYYYMMDDHHMMSS
CreditInvoiceReportReport type
BatchIdBilling processId

Examples of report files.

BRPT050_99999_20190901081544_0[CreditInvoiceReport__2732732].DAT

Change log

VersionDateDescriptionCreated by
1.02019-10-01

Created document

Jacob de Boer

1.012022-07-27Updated "CreditSign" format from X to X(50) for both H1 and D1

Anders Göthberg

1.022023-09-05Added field 10 in H1 and D2 -recordJacob de Boer


General information and explanation of records

This document contains information about a report from the PayEx Billing System regarding all created credit invoices by the PayEx Webservice during a certain period. To create a credit invoice for a customer a debet invoice is the basis upon new credit information post are created. All credit invoices have been approved before creation.

BRPT050 is based on all created credit invoices created by the PayEx Webservice for a certain period. The report will be produced every month and presents all invoices which have been created for this period.

Format description

All fields in the mentioned reports 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
Record type1HReq.Record type
Company number2N(5)Req.You receive the company number from PayEx.
Company name3X(40)Req.Your company name.
Period start4N(10)Req.YYYY-MM-DD – credit invoice information from date
Period end5N(10)Req.YYYY-MM-DD – credit invoice information until date
Created date6N(10)Req.YYYY-MM-DD – Same date as in the file name.

Example on the records appearance.

H;99999;CompanyName;2019-08-01;2019-08-31;2019-09-01

H1 - Description information credit invoice record

Field nameField no.FormatTypeDescription
Record type1H1Req.Record type
CreditInvoiceNo2CreditInvoiceNoReq. 
CreditAmount3CreditAmountReq. 
CustomerNo4CustomerNoReq. 
DebitInvoiceNo5DebitInvoiceNoReq. 
CapitalAmount6CapitalAmountReq. 
ApprovalSign7ApprovalSignReq. 
BillingApprovalDate8BillingApprovalDateReq. 
CreditSign9CreditSignReq. 
ReasonCode10ReasonCodeReq. 

Example on the records appearance.

H1;CreditInvoiceNo;CreditAmount;CustomerNo;DebitInvoiceNo;CapitalAmount;ApprovalSign;BillingApprovalDate;CreditSign;ReasonCode

D1 - Description credit invoice record

Field nameField no.FormatTypeDescription
Record type1D1Req.Record type
CreditInvoiceNo2N(15)Req.Invoice number for the created credit invoice
CreditAmount3N(7),N(2-6)Req.CreditAmount
CustomerNo4X(1-15)Req.CustomerNo
DebitInvoiceNo5N(15)Req.DebitInvoiceNo on which the credit invoice is based on
CapitalAmount6N(7),N(2-6)Req.Amount
ApprovalSign7X(50)Req.Signature of person who approved the credit invoice*
BillingApprovalDate8N(10)Req.YYYY-MM-DD
CreditSign9X(50)Req.Signature(s) of person who initiated the credit invoice
ReasonCode10X(10)Req.ReasonCode**

Examples on the records appearance.

D1;900100;-55.000;12345;800100;112.000; GUI_99999_admin@admin.com;2019-08-01;GUI_99999_user@user.com;11

D1;900200;-99.000;34567;800200;99.000; 4747474;2019-08-02;GUI_99999_user@user.com;19

*for automated approval a batchId (N7) will be presented

** Reason codes are configurated on company level and a list with codes are described in the company’s parameter document

S - Trailer record

Field nameField noFormatTypeDescription
Record type1SReq.Record type

Example on the records appearance.

S

 

Created by Anders Göthberg on 2021/04/09 15:42