Files
tryton/modules/account_payment
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
..
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-16 20:34:19 +01:00
2022-12-24 13:45:10 +01:00
2023-01-08 11:18:56 +01:00
2022-12-16 20:34:19 +01:00

Account Payment Module
######################

The account_payment module allows to generate grouped payments for receivable
or payable Account Move Lines.

Payment
*******

A Payment defines the attempt to pay an amount to a party or to receive an
amount from a party. It is mainly defined by:

- Journal.
- Kind:
  - Payable
  - Receivable
- Party.
- Line.
- Amount.
- Date.
- Description.

A payment can be created from an payable or receivable *Account Move Line*
using the ``Pay Lines`` action. The amount is computed from the debit/credit
deducing existing payments for this line.

Direct debit payments can be created from the wizard ``Create Direct Debit``
for all the parties that are configured with at least one *Direct Debits*
record.

The payment can be in one of this states:

* Draft

  The payment is in preparation.

* Submitted

  The payment has been submitted and is waiting approval or to be processed.

* Approved

  The payment has been approved and is waiting to be processed by the wizard in
  a Group.

* Processing

  The payment has been processed in a Group.

* Succeeded

  The payment was successfully processed.

* Failed

  The payment was not successfully processed.

Group
*****

A group links a set of payment of the same kind processed together inside the
same journal.

Journal
*******

A journal defines the configuration of the processing of payments.