OdooWiki OCA HUB

Purchase Self Invoice

account_invoice_supplier_self_invoice folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

This module allows the configuration of the suppliers in order to define self invoices. Self invoices are created by the customer in the name of the provider. The provider must allow the customer to create them.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you mark a supplier as approving self-billing, so that vendor bills you create for them automatically receive a self-bill number from a dedicated sequence and print as a self-bill invoice in the supplier's name.

This module adds a self-billing workflow for vendor bills. On a supplier's contact record, in the Accounting tab, a new "Self Billing" section lets you switch on "Approves Self Billing", set an optional partner prefix, and create the missing numbering sequences with one button. A footer text for the self-bill report can also be set there.

On a vendor bill or vendor credit note, a "Set Self Invoice" checkbox appears when the supplier approves self-billing and is ticked by default. A banner warns that the invoice will generate a new self-bill number. When the bill is confirmed, Odoo takes the next number from the supplier's self-bill sequence (a separate refund sequence for credit notes), writes it into the bill reference and into a dedicated self-bill number field. If no invoice date was entered, today's date is used.

In Accounting settings, under vendor bills, you define the default self-bill prefix used when a new sequence is created; without it, creating a sequence raises an error. Sequences are built from the company prefix, the optional partner prefix, INV or RINV, and the year.

Self-bills print with a special layout: the supplier's address and logo replace your company's, the title becomes "Self-bill Invoice" or "Self-bill Credit Note", the self-bill number is shown, and the footer displays the partner's self-bill footer (default "Invoiced by the recipent"). Unposted self-bills are marked as not valid. A dedicated email template sends the self-bill to the supplier, and a "Self Invoices" filter is available in the invoice list.

Depends on

account
Models and fields (5)
  • res.company · extends an existing modelself_invoice_prefix (Default Self Billing prefix)
  • res.partner · extends an existing modelself_invoice (Approves Self Billing), self_invoice_sequence_id (Self Billing sequence), self_invoice_report_footer (Self Billing footer), self_invoice_partner_prefix (Self Billing partner prefix), self_invoice_refund_sequence_id (Self Billing Refund sequence)
  • account.move · extends an existing modelcan_self_invoice (Approves Self Billing), set_self_invoice, self_invoice_number (Self-Bill Invoice Number), is_self_invoice_number_different (Different Invoice Reference and Self-Bill Invoice Number)
  • account.move.send · extends an existing model
  • res.config.settings · extends an existing modelself_invoice_prefix (Default Self Billing prefix)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to 'Accounting/Invoicing \> Settings \> Vendor Bills \> Self Billing' and define a new prefix for Self Billing Invoices
  • Go to 'Accounting/Invoicing \> Vendors \> Vendors'
  • Modify a Provider and click 'Set Self Invoice' inside the page 'Invoicing'
  • Go to 'Accounting/Invoicing \> Vendors \> Bills'
  • Create an invoice for the provider and validate it
  • You can send the invoice before validation to ensure the vendor accepts it
  • The self invoice is accessible through the normal print button
  • You can create an invoice for the provider without the self invoice if you uncheck 'Set self invoice'
  • You can send the self invoice by using the Send & Print button or on the tree view Action \> Send & Print.

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.