Retrieves a single accounting code (GL / nominal code) by its ID.
Security
oAuth2ClientCredentials
GET
import requests
id = "YOUR_id_PARAMETER"
url = "https://api.qargo.com/v1/accounting/accounts/" + id
headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}
response = requests.get(url, headers=headers)
data = response.json()
print(data)Successful Response
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "archived": true, "code": "string", "name": "string", "billing_entity": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_name": "Qargo BV", "vat_number": "NL123456789B01", "code": "QARGO", "company_registration_number": "12345678", "is_default": false } }