Lexoffice: Mark invoice as paid

I did a connection from woocommerce to lexoffice, so each time a new order is received, a new invoice is created. Now, I want to put the invoice into a “paid” state if the order is already paid via PayPal. How can this be done? I dont see this in the “create invoice” module.
I could try an api call but I dont find a good documentation on how to do this. Any ideas?

Welcome to the Make community!

Make doesn’t have a module to update Invoices in LexOffice.

If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

2 Likes

Yes I know, there is not such a module. Unfortunately, there is also not the option in the “create invoice” module to mark it already as paid while creating it.
It should work an api call. But as I am not into this, I dont know what the meaning of the fields in the module is.
There is an endpoint in lex api, voucherStatus can be set to paid.

https://developers.lexoffice.io/docs/#payments-endpoint-purpose

Ok, but how to put this into the make module? What is Headers, Query string and Body?

Connection is working, it is just that I dont know about the terminology of it all.

So, no hints on how to set up that api call?

Just a hint to others: It is not possible to change invoice data via api after it is created.

2 Likes

Hello there @Christoph_Hillen :blob_wave:

Thanks a lot for the tip! We appreciate you keeping our community neat and tidy by sharing your suggestions here.

Keep up the great work!

1 Like