MODULES / FINANCE

Purchase vs Payment

Compare vendor payable opening balances, posted bills, payments and closing balances for a period, with pending purchase orders.

Overview

Module idask_purchase_vs_payment
Version1.0.0
Who uses itAnyone who uses the screens listed below.
InstalledOn demand, from Settings → Modules. Anything it needs is installed with it.

Where to find it

Reports / Receivables & payablesPurchase vs Payment

The menu entries appear once the module is installed and your role allows them.

How it links to other modules

A module that is needed cannot be turned off while the module that needs it is on.

Details

Purchase vs Payment

Port of Asksol's Odoo ask_purchase_vs_payment report. Install Purchase vs Payment from Settings → Modules, then open Reports → Purchase vs Payment.

The period report groups vendors and shows opening payable, posted vendor bills and debit notes, posted vendor payments, other payable adjustments, closing payable, payment percentage and confirmed/received purchase orders that have no linked bill. Closing payable is calculated from the posted payable ledger: opening + bills/credit notes − payments + other adjustments. Each vendor row drills into the existing partner ledger detail. The shared report definition supplies PDF and XLSX exports.

The Odoo report's database view mixes payment entries and payable lines and its spreadsheet uses floating point values. ASKERP calculates from posted company payable-account lines with Decimal-safe report formatting, keeps other movements visible as adjustments, excludes drafts, and applies company isolation through the active PostgreSQL RLS context. It is analysis only and never creates or changes ledger entries.

Validation: npx vitest run addons/ask_purchase_vs_payment/addon.test.ts server/reports/registry.test.ts lib/modules.test.ts lib/nav.test.ts.

Purchase vs Payment | ASKERP Docs