How to get a customfield response via API?

How to get a customfield response via API?

Hi!

What kind of name convention is used for getting ghte custom fields from invoice and estimate through the api?

Thanks
Patrick