# How to calculate reverse charge using API

**URL:** <https://api-discuss.freeagent.com/t/how-to-calculate-reverse-charge-using-api/1919>\
**Category:** Uncategorized\
**Created:** [9 March 2020 13:20 UTC](https://api-discuss.freeagent.com/t/how-to-calculate-reverse-charge-using-api/1919 "2020-03-09T13:20:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikaskhairnar](https://api-discuss.freeagent.com/letter_avatar_proxy/v4/letter/v/85f322/32.png) [@vikaskhairnar](https://api-discuss.freeagent.com/u/vikaskhairnar)\
**Post date:** [9 March 2020 13:20 UTC](https://api-discuss.freeagent.com/t/how-to-calculate-reverse-charge-using-api/1919/1 "2020-03-09T13:20:57Z")

</div>

Hi,

I need to calulate reverse charge using api while sending customer/supplier invoices, can you please let me know how should I do it?

---

<div class="post-metadata">

**Author:** ![Peter\_Singh](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/peter_singh/32/219_2.png) [@Peter\_Singh](https://api-discuss.freeagent.com/u/Peter_Singh)\
**Post date:** [17 March 2020 09:25 UTC](https://api-discuss.freeagent.com/t/how-to-calculate-reverse-charge-using-api/1919/2 "2020-03-17T09:25:34Z")

</div>

Hi there 👋

I believe what you’d be looking for is to set the EC Status on your invoices to EC Services, using the `ec_status ` attribute:  
[https://dev.freeagent.com/docs/invoices](https://dev.freeagent.com/docs/invoices)

There is more information about FreeAgent handles the reverse charge in our Knowledge Base article here, should you need it:

> **[How does FreeAgent handle the reverse charge?](https://support.freeagent.com/hc/en-gb/articles/115001220110-How-does-FreeAgent-handle-the-reverse-charge-)**
>
> The reverse charge mechanism impacts many FreeAgent customers who buy services from countries other than the UK. As of March 2014, FreeAgent calculates the reverse charge and automatically adds it ...

Hope this helps!

All the best,  
Peter
