Skip to main content

Paying an Invoice by Mutual Offset of Liabilities

How to Pay an Invoice via Mutual Offset in the API

Written by Lenka Haringerová

ABRA Flexi allows you to pay an invoice through mutual offset of liabilities.

For a given company, all available liabilities whose type has been enabled for use in automated mutual offset are considered for payment. An invoice can also be partially paid this way.

This is done using the uhrad-zapoctem action:

<?xml version="1.0"?>
<winstrom version="1.0">
<faktura-vydana id="100" action="uhrad-zapoctem"/>
</winstrom>

The action can also be triggered in batch mode for a group of documents using a filter:

<?xml version="1.0"?>
<winstrom version="1.0">
<faktura-vydana filter="not stavUhrK begins 'stavUhr.uhrazeno' and typDokl = 'code:INTERNET'" action="uhrad-preplatky"/>
</winstrom>
Did this answer your question?