Get Entities
Edit Data of the Entity (Company) via API
GET Endpoint (all entities/companies)
- Endpoint:
Host + "/v1/einvoices/registrations"
This GET request to the specified endpoint will provide a response containing details of all companies such as company data, active integrations, networks, and their respective status.
Below an example where 2 companies are registered. The first has no integrations, the second has one integration.
{
"Companies": [
{
"CompanyID": 12345678,
"CompanyDetails": {
"TaxIdentifier": "BE1234567890",
"CompanyName": "Tech Corp",
"Addresses": [],
"TaxDeductable": true,
"TaxLiable": true,
"Identifiers": []
},
"Integrations": []
},
{
"CompanyID": 987654,
"CompanyDetails": {
"TaxIdentifier": "BE1234567890",
"CompanyName": "Food Corp",
"Addresses": [],
"TaxDeductable": true,
"TaxLiable": true,
"Identifiers": []
},
"Integrations": [
{
"IntegrationID": 1234,
"Integration": "Peppol",
"IntegrationStatus": "Active",
"IntegrationStatusDescription": "",
"IntegrationDocumentToSign": ""
}
]
}
]
}
GET Endpoint (one entity/company)
- Endpoint:
Host + "/v1/einvoices/registrations/{registrationID}"
This GET request to the specified endpoint will provide a response containing details of 1 specific entity/company.
Example
Command | |
---|---|
Sandbox | GET https://api.sandbox.billit.be/v1/einvoices/registrations/588999 |
Production | GET https://api.billit.be/v1/einvoices/registrations/588999 |
Updated about 14 hours ago