# LexOffice invoice via automation or API

**URL:** <https://community.awork.com/t/lexoffice-invoice-via-automation-or-api/2821>\
**Category:** Developer Forum\
**Created:** [8. Februar 2025 um 17:26 UTC](https://community.awork.com/t/lexoffice-invoice-via-automation-or-api/2821 "2025-02-08T17:26:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobias-wedel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/tobias-wedel/32/615_2.png) [@tobias-wedel](https://community.awork.com/u/tobias-wedel)\
**Post date:** [8. Februar 2025 um 17:26 UTC](https://community.awork.com/t/lexoffice-invoice-via-automation-or-api/2821/1 "2025-02-08T17:26:12Z")

</div>

Hi,

I work with an agency and I pull all the data for invoicing as a CSV. I have already automated my process so that when I save the CSV locally, a clearly sorted text document is created from the CSV and a new task is created in awork via email. I would now like to have an automation with awork that allows me to create a new invoice in LexOffice as soon as the task has been created. I have not found anything about this in the automation itself, so I would like to know if there is an endpoint for this in the awork API? I haven’t found anything about this in the documentation either.

LG  
Tobias

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [10. Februar 2025 um 14:16 UTC](https://community.awork.com/t/lexoffice-invoice-via-automation-or-api/2821/2 "2025-02-10T14:16:06Z")

</div>

Hi @tobias-wedel, you might want to take a look at our Webhook documentation. [Webhooks — awork API | Documentation](https://developers.awork.com/webhooks) Webhooks allow you to subscribe to certain changes within awork, for example when a task has been created, and then trigger something in your integration. Let me know if you need any more help implementing this.

---

<div class="post-metadata">

**Author:** ![tobias-wedel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/tobias-wedel/32/615_2.png) [@tobias-wedel](https://community.awork.com/u/tobias-wedel)\
**Post date:** [11. Februar 2025 um 10:10 UTC](https://community.awork.com/t/lexoffice-invoice-via-automation-or-api/2821/3 "2025-02-11T10:10:11Z")

</div>

@Sebastian, thank you for putting me on the right track. My process is now fully automated, including time tracking. I still have questions about creating the invoice in LexOffice. But the question should be asked in another thread 😏
