Hi,
I want to implement a Laravel API that allows clients (with Odoo linked accounts) to download invoice PDFs and create payments for invoices through an external API integration. I am already getting the Invoices, Customers, Journals, and Creditnotes, but unable to get the invoice PDF. I have tried many ways and each of them have different response.
e.g
No PDF attachment found for invoice {"invoice_id":"8"}
account.move method 2 not available {"error":"Record does not exist or has been deleted.
(Record: account.move('8',), User: 2)","method":"action_send_and_print"}
account.move method 4 not available {"error":"Private methods (such as 'account.move._get_name_invoice_report') cannot be called remotely.","method":"_get_name_invoice_report"}
for payments is there any api by using i can create a payment in Odoo.