API & Country ID


I’m trying to create a client with the API. I read the docs several times, searched Google and I can’t find a (simple?) answer to the following question:

How can I know values for country_id field based on a country ISO code?

Thanks for your help!

You can set country_code to the 2 or 3 digit code.

Wonderful, exactly what I wanted! Thanks!

Is there any other doc for the API than this one: https://app.invoiceninja.com/api-docs#!/client/get_clients?
It seems incomplete :confused:

There’s also this page: http://docs.invoiceninja.com/en/latest/api.html

We’ll add a note about using country/currencies codes here.