This is the reference section for the CUSIN format. The CUSIN File is organized around XML.
This section is currently being worked on. If something is missing, you'll find it
.
CUSIN File
XML Declaration
CUSIN Header
Attributes | Description |
---|---|
Version xs:string (required) | Describes which version of the xsd the xml is validated against. XSD validation should be done before sending xml file to PayEx. |
CreatedDateTime xs:dateTime (required) | Date and time when the file was created. |
CompanyNo string (required) | Your company number (accountsreceivable) at PayEx. |
CompanyName xs:string (required) | Your company name (accountsreceivable) at PayEx. |
Distribution Date
Attribute | Description |
---|---|
DistributionDate xs:date or xs:anytype (required) | Valid attributes Date or AsSoonAsPossible. Date: Only used if distribution of invoices are part of a contracted production planning. Distributiondate has to be in the future. Distributiondate has to be a bankday |
CUSINInfo
CustomerNo
Attributes | Description |
---|---|
CustomerNo Identifier15 (required) | CustomerNo is your unique identifier of the customer in the accountsreceivable and should always be used. CustomerNo is mandatory by default. Requirements MinLength 1 If you do not have unique identifiers of your customers, please contact PayEx. |
CustomerInfo array (required) | This array contains the following elements Name, LegalEntity, RegNo, DistributionAddressInfo, PaymentInfo and DistributionInfo |
Invoices array (required) | This array contains with a lot of elementes. |
CustomerInfo
Name
Attribute | Description |
---|---|
Name NameAddressString72 (required) | Full name for the customer in the accountsreceivablesystem. Used as display name Requirements MinLength 1 |
RegNo
Attribute | Description |
---|---|
RegNo RegNo (required) | Customer social security number/corporate identity number. Has to conform to country specific algorithms Requirements CountryCode: Nationality according to ISO3166 in conjuction with PXString. |
Category
Attribute | Description |
---|---|
Category String10 (optional) | Can only be used if contracted with PayEx. Category has to be preconfigured in the accountsreceivable system Requirements MinLength 1 |
LanguageCode
Attribute | Description |
---|---|
LanguageCode ISO639 (optional) | Only used if preferred invoice language is other than accounts receivable default Requirements MinLength 1 |
VatNo
Attribute | Description |
---|---|
VatNo VatNumber (optional) | Customer VAT registration number. Mandatory if reverse tax is used. Must conform to country specific algorithm Requirements MinLength 7 |
DistributionAddressInfo
Attribute | Description |
---|---|
DistributionAddressInfo ??Type?? (Required) | Contains customer distribution address information and has the following children Addresses, E-MailAddress and Cellphone |
Addresses
E-MailAddress
Cellphone
PaymentInfo
Attribute | Description |
---|---|
PaymentInfo ??Type?? (optional) | Contains differing customer paymentinfo from accounts receivable default and has the following children Clear and Set |
Clear
Set
DunningInfo
Attribute | Description |
---|---|
DunningInfo ??Type?? (optional) | Contains differing customer dunninginfo from accountsreceivable default and has the following children Clear and Set |
Clear
Set
DistributionInfo
Attribute | Description |
---|---|
DistributionInfo ??Type?? (optional) | Contains differing customer distribution info from accountsreceivable default and has the following children Clear and Set |
Clear
Set
NotificationInfo
Attribute | Description |
---|---|
NotificationInfo ??Type?? (optional) | Contains differing notification settings from accounts receivable default and has the following children Clear and Set |