Main.Invoicing.invoice-service.Implementation guide.Technical reference.Receipt - 02. Receipt

Page of - last modified by frn on 2023/01/20 10:22

02. Receipt

frn

2023/01/20 10:22

Table of Contents

CUSIN Receipt file

Name convention

Current XML schema description

Download current XML schema file

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:

ActivityParameterName	Unit	Description	Type
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 customer	Numeric
NoOfInvoices	Number of processed invoices	Numeric
NoOfFailedCustomers	Number of customers that failed to process	Numeric
NoOfFailedInvoice	Number of invoices that failed to process	Numeric
TotalInvoiceAmount	The total amount of all invoices in the file	Amount
ErrorType	DuplicateBillNo	The number of invoices in the file that has the same BillNo as a previously processed invoice	Numeric
ErrorType	ErrorInvalidRegNo	The number of customers in the file that has invalid RegNo (national identifier)	Numeric

Name convention

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

Name components	Description
CompanyNumber	The company number in our ledger system
DateTime	Date created, Should be in the format ISO 8601 format, YYYYMMDDhhmmdd
SerialNumber	Should follow an uninterrupted number series, 1, 2, 3 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

Fileversion	Version	Releasedate	Comment
ARRCP_[1.X].xsd	1.0	2016

Change Log

Version 1.0

September, 2016

ARRCP_[1.X].xsd

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)