Metadata-Version: 2.1
Name: odoo-addon-companyweb_payment_info
Version: 19.0.1.0.1
Requires-Dist: odoo-addon-companyweb_base==19.0.*
Requires-Dist: odoo==19.0.*
Requires-Dist: zeep
Summary: Send your customer payment information to Companyweb
Home-page: https://github.com/OCA/l10n-belgium
License: AGPL-3
Author: ACSONE SA/NV,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 19.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=======================
Companyweb Payment Info
=======================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:3a56de0ae9de99d4dc8174ed8ed58ed1fa9f25644a0340701cadcff1e86190d8
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--belgium-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-belgium/tree/19.0/companyweb_payment_info
    :alt: OCA/l10n-belgium
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-belgium-19-0/l10n-belgium-19-0-companyweb_payment_info
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-belgium&target_branch=19.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends ``companyweb_base`` with a daily scheduled action
that sends all open customer invoices to Companyweb's AutoPayex API.
Companyweb uses this data to build an overview of how quickly companies
pay their suppliers, which helps businesses assess credit risk for new
customers.

An invoice is considered open as long as it has not been fully paid.
Partial payments are supported: the remaining outstanding amount is
reported. Credit notes do not need to be submitted and are excluded
automatically.

Only invoices for customers in supported countries with a known VAT
number or company registry number are submitted.

The following data is shared with Companyweb:

- Your company: VAT/registry number, country.
- Per invoice: customer VAT/registry number, country, invoice number,
  date, amount due.

**Table of contents**

.. contents::
   :local:

Installation
============

This module depends on ``companyweb_base`` and ``account``. Companyweb
credentials must be configured in ``companyweb_base`` before this module
can send data.

The AutoPayex API URL is set automatically on installation
(``companyweb.payex.url`` system parameter). It can be adjusted in
Settings > Technical > System Parameters if needed.

Usage
=====

Configuration
-------------

1. Set up your Companyweb credentials under Contacts > Companyweb >
   Settings.
2. Go to Settings > Companyweb > Payment Info and enable **Send Open
   Invoices to Companyweb** for your company (enabled by default).

The scheduled action **Companyweb: Send Open Invoices** runs once per
day and submits all posted, unpaid customer invoices to Companyweb.
Invoices for customers without a VAT number or company registry number,
or in unsupported countries, are skipped silently.

The result of each submission is logged as an info message, including
the number of valid and invalid invoices processed and the total open
amount reported.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-belgium/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-belgium/issues/new?body=module:%20companyweb_payment_info%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* ACSONE SA/NV

Contributors
------------

- Xavier Bouquiaux xavier.bouquiaux@acsone.eu
- Stéphane Bidoul stephane.bidoul@acsone.eu
- Tobias Zehntner tobias.zehntner@acsone.eu

Other credits
-------------

In 2026, the module developed under the current form, to support the new
Companyweb SOAP api. This development has been funded by
`Companyweb <https://www.companyweb.be>`__.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-xavier-bouquiaux| image:: https://github.com/xavier-bouquiaux.png?size=40px
    :target: https://github.com/xavier-bouquiaux
    :alt: xavier-bouquiaux

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-xavier-bouquiaux| 

This module is part of the `OCA/l10n-belgium <https://github.com/OCA/l10n-belgium/tree/19.0/companyweb_payment_info>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
