When the CUSIN file, containing one or more activities, is processed a receipt will be created showing numbers of processed customers, numbers of processed invoices and total amount.

CUSIN Receipt file


You can find the XSD and an example file below.

In addition to a verification that the file has been received and processed by PayEx the receiptfile also contains other summarized info about the processed file (activityparameters). Below is a list of the activityparameters that is present in the file:

PassedXSDValidation Wheter the file is valid accoring to the currently active XML Schema file (files is always validated by PayEx upon process)Boolean
PreDistributionDate  Date
PreService  Text
PreStartOCRSeqNo  Numeric
NoOfCustomers Number of processed customerNumeric
NoOfInvoices Number of processed invoicesNumeric
NoOfFailedCustomers Number of customers that failed to processNumeric
NoOfFailedInvoice Number of invoices that failed to processNumeric
TotalInvoiceAmount The total amount of all invoices in the fileAmount
ErrorTypeDuplicateBillNoThe number of invoices in the file that has the same BillNo as a previously processed invoiceNumeric
ErrorTypeErrorInvalidRegNoThe number of customers in the file that has invalid RegNo (national identifier)Numeric

Name convention

ARRCP01_<CompanyNumber>_<DateTime>_<SerialNumber>[Original related filename].XML

Names ComponentDescription
CompanyNumberThe company number in our ledger system
DateTimeDate created, Should be in the format  ISO 8601 format, YYYYMMDDhhmmdd
SerialNumberShould follow an uninterupted number series, 00001, and so on.

Current XML schema description

A detailed description of the elements in the current version of the XML schema definition file (XSD) can be found here

Download current XML schema file


Change Log

Version 1.0

September, 2016


 Initial version (latest documented version)

Download sample files

ARRCP01_367_20191030093023_0[CUSIN_367_20190911090044_93.xml] ("PassedXSDValidation" = True)

ARRCP01_367_20191030093613_0[CUSIN_367_20190911090044_93.xml] ("PassedXSDValidation" = True, "ErrorType" Unit="DuplicateBillNo")

ARRCP01_367_20191030093755_0[CUSIN_367_20190911090044_93.xml] ("PassedXSDValidation" = False)

Created by David Persson on 2019/06/20 08:44