# Cannot accept payment for posted invoice

**URL:** https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783
**Category:** User
**Tags:** sales
**Created:** [December 15, 2023, 5:30am UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783 "2023-12-15T05:30:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dalers](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/dalers/32/1767_2.png) [@dalers](https://discuss.tryton.org/u/dalers)
#### Post date: [December 15, 2023, 5:30am UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783/1 "2023-12-15T05:30:49Z")

</div>

I’m stuck trying to recognise customer payment of an invoice (continues from [Cannot create Fiscal Year](https://discuss.tryton.org/t/cannot-create-fiscal-year/6739), which @edbo kindly helped solve).

I was able to post the invoice, and now I am trying to accept payment from the customer.

IIUC, I need to open the invoice and mark the lines for payment.

 ![2023-12-14 17_48_09 click payment tab](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/129f11bdd982015ebf77aa5d224efbd487a437da.png)

I selected the invoice line, but again iiuc there should be a payment button but I don’t see one. If I click Process the invoice line is unselected but nothing else seems to happen. Can anyone point out what I am doing wrong now?

 ![2023-12-14 17_50_09 selected line to pay](https://discuss-cdn.tryton.org/uploads/default/original/2X/5/57057873530fa075293fdfd1f32786d22b13d643.png)

Here is the invoice line details, which I found appears if I double-click the invoice line.

 ![2023-12-14 17_54_12 double-click payment line](https://discuss-cdn.tryton.org/uploads/default/original/2X/f/fcdb0345ce00c5d95ffb192b49bc48642b43cbc8.png)

Thanks very much.

---

<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: [December 15, 2023, 9:09am UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783/2 "2023-12-15T09:09:16Z")

</div>

You can [register the payment from the invoice](https://docs.tryton.org/projects/modules-account-invoice/en/latest/usage/process.html#paying-an-invoice) but you need first to create [a payment method](https://docs.tryton.org/projects/modules-account-invoice/en/latest/design.html#invoice-payment-method).  
I updated the documentation: [Document that payment method is needed to run pay invoice wizard (!1059) · Merge requests · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/merge_requests/1059)

---

<div class="post-metadata">

### Author: ![dalers](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/dalers/32/1767_2.png) [@dalers](https://discuss.tryton.org/u/dalers)
#### Post date: [December 15, 2023, 3:16pm UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783/3 "2023-12-15T15:16:36Z")

</div>

Thanks @ced. I thought I had done that, but perhaps not correctly (likely not correctly twice, since this is the second time I have tried this, and get to the same place again with a new database).

Here is my “Cash” payment method.

 ![2023-12-15 08_11_06 Financial - Configuration - Journals - Invoice Payment Methods](https://discuss-cdn.tryton.org/uploads/default/original/2X/7/700ad32c60c35cc1a60494805328af833cfec5c7.png)

 ![2023-12-15 08_12_44 Financial - Configuration - Journals - Invoice Payment Methods - Cash](https://discuss-cdn.tryton.org/uploads/default/original/2X/9/924a19fe7f34533d0009e49535fa7095b595c5b9.png)

TIA

---

<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: [December 15, 2023, 4:16pm UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783/4 "2023-12-15T16:16:37Z")

</div>

The account for the payment methods can not be the same as the invoice account. This is why the invoice does not display the pay button because you are using to register cash the main receivable account.

---

<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: [January 14, 2024, 4:17pm UTC](https://discuss.tryton.org/t/cannot-accept-payment-for-posted-invoice/6783/5 "2024-01-14T16:17:00Z")

</div>

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