Discussions

Ask a Question
Back to all

list of available fields for various entities

hi

Is there a place where I can find the list of all fields available to fulfill, for various entities like contact, invoice, account, etc?
For example in the "Create a contact" page (https://developer.b2brouter.net/reference/create-contact) in the "Body Params" section, we can expand the "client" attributes and see fields like taxcode (deprecated), tin_scheme, tin_value, ... etc.
Is there somewhere a kind of schema file (like an json/xsd) which will contain all those fields (attributes) - something like the below one

{
"client": {
"language": "string",
"is_client": true,
"is_provider": false,
"terms": "string",
"public_sector": boolean,
"taxcode": "string",
"tin_scheme": "string"
...
"payment_method": 1
...
}
}

It would be nice having those at least for "Create a contact" and "Create an invoice".

thanks!