l10n-switzerland-flectra/ebill_paynet
Raphael Ritter bc2374f0d9 moved to f2
2021-06-30 08:39:40 +02:00
..
components moved to f2 2021-06-30 08:39:40 +02:00
data moved to f2 2021-06-30 08:39:40 +02:00
messages ported everything from odoo 14 2021-06-30 08:38:22 +02:00
models moved to f2 2021-06-30 08:39:40 +02:00
readme ported everything from odoo 14 2021-06-30 08:38:22 +02:00
security ported everything from odoo 14 2021-06-30 08:38:22 +02:00
static/description moved to f2 2021-06-30 08:39:40 +02:00
tests moved to f2 2021-06-30 08:39:40 +02:00
views moved to f2 2021-06-30 08:39:40 +02:00
__init__.py ported everything from odoo 14 2021-06-30 08:38:22 +02:00
__manifest__.py moved to f2 2021-06-30 08:39:40 +02:00
COPYRIGHT moved to f2 2021-06-30 08:39:40 +02:00
LICENSE moved to f2 2021-06-30 08:39:40 +02:00
README.rst moved to f2 2021-06-30 08:39:40 +02:00

============
eBill Paynet
============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

This module implements the exchange of electronic invoices with the SIXT Paynet infrastructure used in Switzerland.

It allows the automatic sending of invoice to customer that have registered with the service.

**Table of contents**

.. contents::
   :local:

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

This module depends on `base_ebill_payment_contract` which is located on `OCA/account_invoicing`, so this repository must also be present on the system.
This `base_ebill_payment_contract` module depends on `account_invoice_transmit_method` which will also be installed.

Configuration
=============

## Create a service

To create a service you need to be registred with SIXT Paynet service. Then the configuration of the service can be done in `Accounting - Configuration - Payments - Paynet Service`

## Configure the customers

A customer that wants to receive his invoices through Paynet will also need to register with the service.
In Odoo to enable the sending of invoices for a specific customer through Paynet, the transmit method must be set accordingly for that customer. This is done on the customer form in the tab `Sales & Purchases` section `Sales`.

## Configure the contracts

The contracts specific to e-billing are located in `Accounting - Customers - eBill Payment Contract`
Although the Paynet system allows for automatic exchange of contract registration and status changes, this automation is not yet implemented.
To be active a contract needs to be in the state `Open` and it's start/end dates to be valid.

Usage
=====

To use this module, you need to:

#. Configure the service, customers and contracts as described in the CONFIGURATION section.
#. Create an invoice for a customer with an open Paynet contract.
#. Validate the invoice, and it will be send to the service.

Known issues / Roadmap
======================

To Do

* The B2C invoice generated is only a draft and not tested, yet.
* Invoice in currency other than CHF will not be generated correctly.
* Implementation of the automatic registration of contracts, is not impemented and probably not supported by the DWS

Improvements

* On the contract view the list of messages for that contract could be visible.
* When an error is returned by the service it should be clearer where it is located in the payload send.
* In the chatter add a link to the job when it fails

Credits
=======

Authors
~~~~~~~

* Camptocamp SA

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

        * Jamotion <info@jamotion.ch>
* Thierry Ducrest <thierry.ducrest@camptocamp.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Camptocamp