Have a CL company setup Issue a vendor bill Then generate the credit note via 'Add Credit Note' wizard Add a reason and confirm Error will raise “You can not use a invoice document type with a refund invoice” As https://github.com/odoo/odoo/commit/c9ff9d28ab75c02093ca54d9fbd1d2e203c5ee2e for the invoice case we need to add specific logic to handle credit notes in l10n_cl opw-2801576 closes odoo/odoo#87946 X-original-commit: 0f1edf4d47d936c440e42fa105a8a5d6a75a8a77 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com>