تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1324 أدوات العرض

Hello !


I have a little question about how the API works. I'm using PHP 8.3 on the ODOO version 8 API.


(I also take solutions for other versions, maybe that can help).


So I have an online platform where customers can pay, and then via my call API it generates an order with the status draft then confirmed, and then we create an invoice that we validate to get an invoice number. Then I'd like to record the payment in Odoo, but I don't know how to proceed.


Do I need to create a payment using the ‘account.voucher’ class?

Or is there a function that passes the invoice as paid by writing all the accounting lines and the payment lines?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 25
1183
1
مارس 23
4923
1
أكتوبر 22
11171
7
يناير 22
18457
1
يناير 24
14922