Skip to content

Conversation

@jbaudoux
Copy link
Contributor

@jbaudoux jbaudoux commented Aug 15, 2025

Allow to generate self-billing invoice and credit note in UBL.

https://docs.peppol.eu/poacc/self-billing/3.0/bis-sb/

cc @lmignon @rousseldenis @sbidoul

Also fixed in:

  • base_ubl:
    • contact : do not declare if empty, an element cannot be empty
    • taxes : use invoice line taxes instead of product taxes
  • account_invoice_ubl:
    • due date : must be declared as we always declare an amount residual (no matter who has to pay)

@jbaudoux jbaudoux force-pushed the 16-account_invoice_ubl-self_billing branch 6 times, most recently from a66d8ce to ec25ce2 Compare August 17, 2025 20:04
@jbaudoux jbaudoux changed the title [16.0][IMP][WIP] account_invoice_ubl: add support to self-billing [16.0][IMP][WIP] account_invoice_ubl: add support to self-billing + various fixes Aug 17, 2025
@lmignon
Copy link
Contributor

lmignon commented Sep 2, 2025

IMO, this addon should depend on account_invoice_supplier_self_invoice. Personally, I would have preferred the term self_billing to be used in the name of this existing module and for the fields defined in it instead of self_invoice, but despite this, it would seem logical to me to depend on this module.

@jbaudoux jbaudoux force-pushed the 16-account_invoice_ubl-self_billing branch from ec25ce2 to a7b4d79 Compare November 13, 2025 09:34
Do not declare empty contact. Empty element is not permitted
@jbaudoux jbaudoux force-pushed the 16-account_invoice_ubl-self_billing branch 2 times, most recently from c6f8902 to 11c80d4 Compare November 13, 2025 09:49
The due date must always be there when there is a residual amount
Use given taxes if not None. Do not override with product taxes.
For instance, in a UBL invoice, declare given invoice line tax instead of product tax.
Declare invoice line taxes instead of product taxes
@jbaudoux jbaudoux force-pushed the 16-account_invoice_ubl-self_billing branch from 11c80d4 to 47e7282 Compare December 11, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants