CFL G/L Entries API

  • 2 minutes to read

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.0';
EntityName = 'glentry';
EntitySetName = 'glentries';

Method: GET https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/glentries

Entity:

{
    "glaccountno": "100000",
    "postingdate": "2019-12-31",
    "documenttype": " ",
    "dimensionsetid": 0,
    "amount": -452250,
    "creditamount": 452250,
    "debitamount": 0
}

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.0';
EntityName = 'generalLedgerEntry';
EntitySetName = 'generalLedgerEntries';

Method: GET https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/generalLedgerEntries

Entity:

{
    "@odata.etag": "W/\"JzIwOzExNzY2MTAzODgyNTIxOTI3MjcxMTswMDsn\"",
    "id": "b89a0f0c-13e0-ec11-adf8-c90fab2a25c5",
    "entryNo": 1,
    "postingDate": "2021-12-31",
    "documentNo": "BEGIN",
    "documentType": " ",
    "accountId": "47a5cdc5-14e0-ec11-adf8-c90fab2a25c5",
    "accountNumber": "220000",
    "description": "Beginsaldo",
    "debitAmount": 2052148.41,
    "creditAmount": 0,
    "standardFormatMessage": "",
    "numberPlate": "",
    "systemModifiedAt": "2022-05-30T12:25:12.977Z"
}

Method: GET https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.0/companies(companyid)/generalLedgerEntries?$expand=dimensionSetLines

Entity:

{
    "@odata.etag": "W/\"JzE5OzE1Nzg0NDkxMTQxMzE4ODMwMzgxOzAwOyc=\"",
    "id": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
    "entryNo": 2876,
    "postingDate": "2023-01-16",
    "documentNo": "103031",
    "documentType": "Invoice",
    "accountId": "8ea5cdc5-14e0-ec11-adf8-c90fab2a25c5",
    "accountNumber": "400000",
    "description": "Factuur 1003",
    "debitAmount": 1290.71,
    "creditAmount": 0,
    "standardFormatMessage": "",
    "numberPlate": "",
    "systemModifiedAt": "2022-05-30T12:27:21.207Z",
    "dimensionSetLines": [
        {
            "@odata.etag": "W/\"JzE4OzczNjI0NzM4OTMyMjEwMDMyMDE7MDA7Jw==\"",
            "id": "6832e12f-13e0-ec11-adf8-c90fab2a25c5",
            "code": "BEDRIJFSGROEP",
            "parentId": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
            "parentType": "General Ledger Entry",
            "displayName": "Bedrijfsgroep",
            "valueId": "0026b553-13e0-ec11-adf8-c90fab2a25c5",
            "valueCode": "THUIS",
            "valueDisplayName": "Thuis"
        },
        {
            "@odata.etag": "W/\"JzE5OzYxMTEyMTc3MTIwNjQwNTkxMTQxOzAwOyc=\"",
            "id": "6932e12f-13e0-ec11-adf8-c90fab2a25c5",
            "code": "DISTRICT",
            "parentId": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
            "parentType": "General Ledger Entry",
            "displayName": "District",
            "valueId": "0326b553-13e0-ec11-adf8-c90fab2a25c5",
            "valueCode": "30",
            "valueDisplayName": "Noord-Europa (EU)"
        },
        {
            "@odata.etag": "W/\"JzIwOzE4Mjk2NzgzNzgwNDY1MDUxNDU4MTswMDsn\"",
            "id": "6b32e12f-13e0-ec11-adf8-c90fab2a25c5",
            "code": "KLANTGROEP",
            "parentId": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
            "parentType": "General Ledger Entry",
            "displayName": "Klantgroep",
            "valueId": "1326b553-13e0-ec11-adf8-c90fab2a25c5",
            "valueCode": "MIDDEL",
            "valueDisplayName": "Middelgroot bedrijf"
        },
        {
            "@odata.etag": "W/\"JzE4OzQ4NzcxMTU4MzQ3NjU5ODI4OTE7MDA7Jw==\"",
            "id": "6f32e12f-13e0-ec11-adf8-c90fab2a25c5",
            "code": "KSTNPLAATS",
            "parentId": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
            "parentType": "General Ledger Entry",
            "displayName": "Kostenplaats",
            "valueId": "2326b553-13e0-ec11-adf8-c90fab2a25c5",
            "valueCode": "VERKOOP",
            "valueDisplayName": "Verkoop"
        },
        {
            "@odata.etag": "W/\"JzE5OzYyNzA5NTQ0ODA1OTM1NDk0MjcxOzAwOyc=\"",
            "id": "7132e12f-13e0-ec11-adf8-c90fab2a25c5",
            "code": "VERKOPER",
            "parentId": "13e30712-13e0-ec11-adf8-c90fab2a25c5",
            "parentType": "General Ledger Entry",
            "displayName": "Verkoper",
            "valueId": "2826b553-13e0-ec11-adf8-c90fab2a25c5",
            "valueCode": "FK",
            "valueDisplayName": "Floris Kregel"
        }
    ]
}