# Payment and statement

**URL:** https://discuss.tryton.org/t/payment-and-statement/1470
**Category:** User
**Tags:** accounting
**Created:** [June 11, 2019, 8:00pm UTC](https://discuss.tryton.org/t/payment-and-statement/1470 "2019-06-11T20:00:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [June 11, 2019, 8:00pm UTC](https://discuss.tryton.org/t/payment-and-statement/1470/1 "2019-06-11T20:00:19Z")

</div>

> [@Support for global payment](https://discuss.tryton.org/t/support-for-global-payment/431/1):
>
> Currently it is possible to do it but it requires manual operations and computations.

Could you explain what manual operations and computations, please??

I’m playing with account\_statement + account\_payment\_clearing modules hoping that a statement (with payment group setted) post a move with 3 lines, two related to two payments and the left one with the total payable amount, and all I get are 3 moves, one related to total payable amount and the other two for the payments…

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 12, 2019, 8:06am UTC](https://discuss.tryton.org/t/payment-and-statement/1470/2 "2019-06-12T08:06:38Z")

</div>

> [@josesalvador](#):
>
> post a move with 3 lines

Statement always create a move per line because the dates may be different.

> [@josesalvador](#):
>
> two related to two payments and the left one with the total payable amount, and all I get are 3 moves, one related to total payable amount and the other two for the payments…

It is not possible to understand what you did not what you want to do.  
Please provide full description of your scenario.

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [June 12, 2019, 8:27am UTC](https://discuss.tryton.org/t/payment-and-statement/1470/3 "2019-06-12T08:27:36Z")

</div>

> [@ced](#):
>
> It is not possible to understand what you did not what you want to do.

You’re right. I’m so sorry. I’ll try to do it better:

Scenario with account\_statement and account\_payment\_clearing modules.

P1 - Payment 1 - 10€  
P2 - Payment 2 - 10€

-–

PG1 - Payment Group 1 (grouping payments P1 and P2)

-–

S1 - Statement 1 (with just one line linked to PG1 with an amount of 20€)

-–

Validate S1

-–

3 moves created:

- 1 move for statement line from S1
- 1 move for P1
- 1 move for P2

Payment moves conciliated.

Is this the way tryton works to manage one statement line from bank statement with the total amount to pay a payment group (i.e. SEPA)?

I think this subject is related to [“one paymentfor multiple invoices discussion”](https://discuss.tryton.org/t/one-payment-for-multiple-invoices/232).

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 12, 2019, 8:43am UTC](https://discuss.tryton.org/t/payment-and-statement/1470/4 "2019-06-12T08:43:57Z")

</div>

> [@josesalvador](#):
>
> - 1 move for P1
> - 1 move for P2

Those are the clearing moves. We must create one per payment because it depends on the state of each one.

> [@josesalvador](#):
>
> Is this the way tryton works to manage one statement line from bank statement with the total amount to pay a payment group (i.e. SEPA)?

This is what happening. As you validated the statement, the payment in the linked groups are marked as succeeded.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [July 12, 2019, 8:44am UTC](https://discuss.tryton.org/t/payment-and-statement/1470/5 "2019-07-12T08:44:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
