9. ARAccounting

This is a technical overview of the ARAccounting report containing ledger bookkeeping data. The file is created on a daily basis.



ARAccountingdescribes the accounting records (bookkeeping data) on a transactional level. 

Please note that your ARAccounting file, depending on package type and file version, might only utilize and/or contain a subset of all elements described below. See the XSD for your ARAccounting file version to learn more.


The file uses UTF-8 encoding

Name convention


Name componentsDescription
CompanyNumberThe company number in our ledger system
DateTimeThe date and time that the file was created. Uses ISO 8601 format, YYYYMMDDhhmmdd
SerialNumberShould follow an uninterrupted  number series, 1, 2, 3 and so on.

Important to note!

  • Always use GLAccount and AccountingAction when setting up the processing of ARAccounting in your ERP.
  • If necessary, map the default PayEx Book Accounts to your own customized book accounts.
  • All accounting actions can be reversed/mirrored, e.g. when payer withdraws a direct debet payment.
  • The sum of all short-term receivable from PayEx (GLAccount 1684/1390) is equal to each record of Client asset disbursement in the corresponding ARSettlement/Balance Report for the specified period.


The ARAccounting contains the following attributes compared to ARAccountingDetail:

  • InterCompanyCode
  • VatCode
  • CustomerNo
  • GLAccount replacing BookAccount

Book Accounts


1510 Kundfordringar PayEx Accounts receivable PayEx
1513 Kundfordringar direktbetalda Accounts receivable Direct payment
1519 Osäker fordran Write down / Bad debt losses
1684 Kortfristig fordran PayExShort-term receivable from PayEx
2490Skuld till kund (reglering kreditfaktura) Liabilities to customer (credit invoice settlement)
2499Transportkonto (reglering kreditfaktura) Transport account (credit invoice settlement)
3591Intäkter för påminnelseavgift Revenue from Reminder fee
3592Intäkter för inkassoavgift Revenue from Debt collection fee
3593Intäkter för förseningsavgift Revenue from Business late fee
3594Intäkter för inkassokostnader Revenue from Debt Collection expenses
3595Intäkter för inkassoarvodenRevenue from Debt Collection expenses
3710Rabatt, restbelopp efterskänksRemaining amount to remission
3740Godkänd öresdiff tillgodo Rounding to whole units


1500Kundefordringer PayEx Accounts receivable PayEx
1520Kundefordringer direktebetalte Accounts receivable Direct payment
1580Usikker fordringWrite down / Bad debt losses
1390Kortsiktig fordring PayExShort-term receivable from PayEx
2900Gjeld til kunde (regulering kreditfaktura) Liabilities to customer (credit invoice settlement)
2999Transportkonto (regulering kreditfaktura) Transport account (credit invoice settlement)
3900Inntekter fra purregebyrRevenue from Reminder fee
3180Rabatt, restbeløp at tilgiRemaining amount to remission
7745Godkjent øreavrunding til godeRounding


6310Kundefordringer PayEx Accounts receivable PayEx
6312Kundefordringer direktebetalteAccounts receivable Direct payment
6330Ubetalt gældWrite down / Bad debt losses
6490Kortfristet fordring PayExShort-term receivable from PayEx
6311Gæld til kunde (regulering kreditfaktura) Liabilities to customer (credit invoice settlement)
6420Transportkonto (regulering kreditfaktura) Transport account (credit invoice settlement)
1551Indtægt for rykkergebyrRevenue from Reminder fee
1552Indtægt for inkassogebyRevenue from Debt collection fee
1553Indtægt for forsinkelsegebyrRevenue from Business late fee
1555Indtægt for inkassoomkostningerRevenue from Debt Collection expenses
1554Indtægt for inkassoomkostningerRevenue from Debt Collection expenses
2830Rabat, restbeløb eftergivesRemaining amount to remission
1556Godkendte øresdiff til godeRounding to whole units


1702MyyntireskontraAccounts receivable PayEx
1761Myyntireskontra Suorat MaksutAccounts receivable Direct payment
1762LuottotappiotWrite down / Bad debt losses
1760Lyhytaikaiset saatavat PayexiltäShort-term receivable from PayEx
2941Velka asiakkaalle (säännön mukainen hyvityslasku)Liabilities to customer (credit invoice settlement)
2999 Transport account (credit invoice settlement)
3251Muistutuskulun tuottoRevenue from Reminder fee
3252Maksuvaatimuksen tuottoRevenue from Debt collection fee
3253Myöhästymiskulujen tuloRevenue from Business late fee
3255Perintäkulujen tuottoRevenue from Debt Collection expenses
3254Perintäkulujen tuottoRevenue from Debt Collection expenses
3999Jäljellä oleva peruutettava määräRemaining amount to remission
3999Pyöristys kokonaisiksi yksiköiksiRounding to whole units

Transaction Cause

The following transaction causes are used.

Each code, with the exception of "Monitoring" (Sweden only), correspond to the credit cause chosen in the interface PayEx 360 when an invoice is manually credited.

Transaction cause (Accounting Detail)Swedish (PayEx 360)English (PayEx 360)
CompositionArrangementAckordsuppgörelseComposition agreement
WrongAddressFelaktig adressIncorrect address
WrongRegNoFelaktigt/Saknar persnr/orgnrIncorrect/missing Reg no.
UnderAgeEj myndigUnderaged
ApprovedDiffRestbelopp efterskänksRemaining amount to remission

Accounting examples

Examples of typical payment scenarios and corresponding accounting redords (see Book accounts for complete list of accounts)
Original invoice amount = 1000 SEK.

Full payment including reminder fee, collection fee and interest (resulting in invoice status = closed)

<Accounting Amount="-1000.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="-60.00" GLAccount="3591" AccountingAction="C"/>
<Accounting Amount="-180.00" GLAccount="3592" AccountingAction="C"/>
<Accounting Amount="-4.69" GLAccount="8313" AccountingAction="C"/>
<Accounting Amount="1000.00" GLAccount="1684" AccountingAction="D"/>
<Accounting Amount="60.00" GLAccount="1684" AccountingAction="D"/>
<Accounting Amount="180.00" GLAccount="1684" AccountingAction="D"/>
<Accounting Amount="4.69" GLAccount="1684" AccountingAction="D"/>

Part payment

<Accounting Amount="-500.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="500.00" GLAccount="1684" AccountingAction="D"/>

Over payment (surplus not affecting accounting)

<Accounting Amount="-1000.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="1000.00" GLAccount="1684" AccountingAction="D"/>

Settle credit invoice against debet invoice (correction of incorrect invoices)

Debit invoice
<Accounting Amount="-125.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="125.00" GLAccount="2499" AccountingAction="D"/>
<Accounting Amount="125.00" GLAccount="1510" AccountingAction="D"/>
<Accounting Amount="-125.00" GLAccount="2499" AccountingAction="C"/>

Credit invoice
<Accounting Amount="-125.00" GLAccount="2499" AccountingAction="C"/>
<Accounting Amount="125.00" GLAccount="2490" AccountingAction="D"/>
<Accounting Amount="125.00" GLAccount="2499" AccountingAction="D"/>
<Accounting Amount="-125.00" GLAccount="2490" AccountingAction="C"/>

Invoice adjustment (generally used for write down of fees or bad debt losses)

<Accounting Amount="-150.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="150.00" GLAccount="1519" AccountingAction="D"/>

Remission of residual balances

<Accounting Amount="-1.00" GLAccount="1510" AccountingAction="C"/>
<Accounting Amount="1.00" GLAccount="3710" AccountingAction="D"/>

XSD Validation

The ARAccounting file must be validated toward an up-to-date XSD (ARAccounting_[x.x].xsd). You can download the latest version below.

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



Version 1.0

january, 2020


 Initial version (latest documented version)

Download sample file


Created by Fredrik Nilsson on 2021/06/29 16:52