Skip to main content

Matching

Match

Web service type: XML Web Services

Root

Element name: match

NameDescription
setContains information of the match set.

Set

Element name: set

NameTypeDescription
officecodeOffice code.
matchcode070
170
270
370
The following matching types are available:
070 = Matching suspense accounts.
170 = Matching customers.
270 = Matching suppliers.
370 = Matching projects.
matchdatedateMatch date.
linesnodeContains the financial transactions that will be matched.

Transaction lines

Element name: lines

NameTypeDescription
linenodeContains one single line of a financial transaction.

Transaction line

Element name: line

NameTypeDescription
transcodecodeDaybook code.
transnumberintegerTransaction number.
translineintegerTransaction line number.
matchvaluemoneyOptional; only for partial payments. Include an "-" on credit lines.
writeoffmoneyOptional; only for exchange rate differences, write-off or deduction. Include an "-" on credit lines.
Add the type attribute in order to determine what to do with the match difference. Possible values are:
currency
writeoff
discount

XML Examples

In the following example, a sales invoice transaction is fully matched with a cash payment.

<match>
<set>
<office>001</office>
<matchcode>170</matchcode>
<matchdate>20210211</matchdate>
<lines>
<line>
<transcode>CASH</transcode>
<transnumber>202100013</transnumber>
<transline>2</transline>
</line>
<line>
<transcode>VRK</transcode>
<transnumber>202100069</transnumber>
<transline>1</transline>
</line>
</lines>
</set>
</match>