OdooWiki OCA HUB
Accounting & Finance License: AGPL-3

This module allows to compensate the balance of a receivable account with the balance of a payable account for the same partner, creating a journal item that reflects this operation.

WARNING: This operation can be forbidden in your country by the accounting regulations, so you should check current laws before using it. For example, in Spain, this is not allowed at first instance, unless you document well the operation from both parties.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets accountants offset a partner's receivable and payable balances by creating and posting a single journal entry that reconciles the selected journal items.

This module adds a "Compensate" action on the Journal Items list (account.move.line). Select at least two posted journal items for the same partner and run it to open a wizard.

The wizard shows the partner, the amount to compensate and whether it is "To pay" or "To receive", plus a general journal, a date and a reference (default "AR/AP netting"). It refuses to continue if fewer than two items are selected, if a line is not posted, already reconciled or has no partner, if the accounts are not payable or receivable, if all lines share the same account (use Reconcile instead), or if the lines belong to different partners.

On confirmation it creates a journal entry in the chosen journal, posts it, and reconciles the new lines with the selected ones per account, leaving only the remaining balance on the partner. The user is then taken to the created entry.

Access is granted to the accountant and accounting manager groups. Note that netting receivables against payables may be restricted by local accounting rules.

Depends on

account
Models and fields (1)
  • account.move.make.netting · new modelref (Reference), date, balance, company_id, journal_id, partner_id, balance_type, move_line_ids (Journal Items to Compensate), company_currency_id

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-financial-tools.

terminal Installation and usage

OCA documentation · Odoo 19.0

From any account journal entries view:

  • Accounting/Journal Entries/Journal Items

select all the lines that corresponds to both AR/AP operations from the same partner. Click on Action \> Compensate. If the items don't correspond to the same partner or they aren't AR/AP accounts, you will get an error.

On contrary, a dialog box will be presented with the result of the operation and a selection of the journal to register the operation. When you click on the Compensate button, a journal entry is created with the corresponding counterparts of the AR/AP operations.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.