Decimal JSON values not passing in Create Bill

Hi,

I’m pretty new to working with API’s and I’m using integromat (Make) to create a bill via the “Make an APi Call” module.

I can get all of the string values to pass into Freeagent and create a bill but the numerical figures do not pass over.

Any ideas what I’m doing wrong?

Cheers

Lee

Just to clarify, it’s the total value and sales tax rate that don’t pass over

Hi Lee,

Welcome to our API forum! I’m Katie from the Support Engineering team, hopefully I can help you out here.

I see you are passing in the total value and sale tax rate as numbers, but these should be passed in as strings (“5650.03” and “20.0”) as you can see here in our documentation.

I hope this helps!

Thanks,
Katie