Get company details
Changed onUsed to retrieve details for a successfully onboarded company.
Request
- Base URLhttps://api-demo.fonoa.com
- URLhttps://api-demo.fonoa.com/onboarding/v2/companies/{id}
- AuthAPI key in header Ocp-Apim-Subscription-Key
Path parameters
The identifier of the company
Query parameters
Boolean flag specifying whether the id parameter is external (provided by the client during the POST as external_id) or internal (returned by Fonoa when creating the entity). Defaults to false
Response
Company response
Example response
{
"status": "success",
"data": {
"id": "ab52e24c64364fc7ae0fa098c242c4d9",
"meta": {
"external_id": "Account0001HU",
"language_code": "hu",
"country_code": "hu"
},
"legal_name": "Business Customer",
"company_number": "13353298-1-44",
"address": {
"country_code": "IE",
"province": "Quebec",
"region": "West",
"state": "Minnesota",
"disctrict": "District of Light",
"canton": "Ticino",
"city": "Dublin",
"neighbourhood": "Green Garden",
"postal_code": "10000Z",
"address_line_1": "752 A, Silky roads, Split",
"address_line_2": "801, Big Bells, Goodville",
"number": "120A",
"prefix": "Alley",
"suffix": "Avenue"
},
"tax_information": {
"tax_number": "69061864-2-99",
"regime": "VAT"
},
"tax_credentials": {
"certificate_base64": "BASE64",
"certificate_password": "CERTIFICATE_PWD",
"username": "USERNAME",
"password": "PASSWORD"
},
"created_at": "2021-08-20T13:18:55.5924614+00:00"
},
"message": "null"
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
added the new
failedenum value to theresponse property for the response status - warning
added the new
in-progressenum value to theresponse property for the response status - warning
added the new
successenum value to theresponse property for the response status - info
api operation id
getCompanywas added - info
api tag
E-Invoicing Endpointsadded - info
added the new optional
queryrequest parameterexternal-id - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
removed from the
response propertyallOflist for the response status - info
the
response's property default valuesuccesswas added for the status
- breaking