You can deduct several advances from a single invoice at the same time — in the odpocty-zaloh element, simply repeat the odpocet element.
Example
<winstrom version="1.0">
<faktura-vydana>
<id>167</id>
<odpocty-zaloh>
<odpocet>
<castkaMen>1210.0</castkaMen>
<doklad>code:VF2-0005/2026</doklad>
</odpocet>
<odpocet>
<castkaMen>605.0</castkaMen>
<doklad>code:VF2-0006/2026</doklad>
</odpocet>
</odpocty-zaloh>
</faktura-vydana>
</winstrom>
castkaMen is the amount in the document currency including VAT, doklad is the identifier of the advance being deducted. Deductions can be sent right when creating the invoice, or added to an existing one.
On the invoice, each advance will then get its own deduction item, and the summary field in the header will be populated:
Field / item | Value in the example |
Item | −1,210 CZK |
Item | −605 CZK |
| 1,815 CZK — summary of deducted advances |
| remaining amount due after deduction |
ℹ️ Deducting a tax document for an advance payment (ZDD) is recorded differently — instead of castkaMen, amounts are given by VAT rate (castkaZaklMen, castkaSnizMen, castkaOsvMen). The recommended procedure and all optional elements are described in the article Deducting Advances and ZDD.
