# 422 - Unprocessable Entity while creating bank\_transaction\_explanation

**URL:** <https://api-discuss.freeagent.com/t/422-unprocessable-entity-while-creating-bank-transaction-explanation/72>\
**Category:** Uncategorized\
**Created:** [30 May 2016 10:04 UTC](https://api-discuss.freeagent.com/t/422-unprocessable-entity-while-creating-bank-transaction-explanation/72 "2016-05-30T10:04:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume](https://api-discuss.freeagent.com/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@Guillaume](https://api-discuss.freeagent.com/u/Guillaume)\
**Post date:** [30 May 2016 10:04 UTC](https://api-discuss.freeagent.com/t/422-unprocessable-entity-while-creating-bank-transaction-explanation/72/1 "2016-05-30T10:04:55Z")

</div>

Hi,

I received a 422 Unprocessable Entity when trying to create a bank  
transaction explanation.

Could you please have a quick look to the json below and let me know what’s  
wrong with it?

{“bank\_transaction\_explanation”:{“place\_of\_supply”:“France”,“bank\_account”:“[https://api.freeagent.com/v2/bank\_accounts/260711",“dated\_on”:“2016-05-17”,“description”:"Sale](https://api.freeagent.com/v2/bank_accounts/260711%22,%22dated_on%22:%222016-05-17%22,%22description%22:%22Sale)  
(EUR 83.99 - Ref xxxxxxx -  
FR)”,“gross\_value”:65.35,“category”:“[https://api.freeagent.com/v2/categories/002",“ec\_status”:"EC](https://api.freeagent.com/v2/categories/002%22,%22ec_status%22:%22EC)  
VAT MOSS”,“sales\_tax\_rate”:20.0028575510787,“marked\_for\_review”:true}}

I suspect the issue comes from the VAT rate (I used a double which was  
represented as String with lots of digits).

Would it be possible to get the field details for this API call (length and  
expected format)?

Thanks  
Guillaume
