CFL Sales Invoice API v2.1

  • 6 minutes to read

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedsalesinvoice';
EntitySetName = 'postedsalesinvoices';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalesinvoices
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalesinvoices?$expand=documentimages
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalesinvoices?$expand=postedSalesInvoiceLines

Entity:

{
    "@odata.etag": "W/\"JzE5Ozk3OTE1NTk2NDAzMTc4MDk4MTIxOzAwOyc=\"",
    "no": "103001",
    "billtocustomerno": "10000",
    "billtocustomername": "Van Terp Kantoorinrichting",
    "amount": 11433.25,
    "amountinclvat": 13786.21,
    "postingDate": "2023-01-23",
    "dueDate": "2023-02-23",
    "systemModifiedAt": "2022-12-08T10:55:44.957Z",
    "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ]
}

CFL Sales Invoice Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedSalesInvoiceLine';
EntitySetName = 'postedSalesInvoiceLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesInvoiceLines

Entity:

{
    "@odata.etag": "W/\"JzE4OzUxNDQ3OTEwMjUxNDA1MTM2MTE7MDA7Jw==\"",
    "documentNo": "103001",
    "lineNo": 10000,
    "type": "Resource",
    "no": "ARNOUD",
    "description": "Montage meubels, januari",
    "quantity": 25,
    "unitOfMeasureCode": "UUR",
    "unitPrice": 83,
    "lineDiscountPct": 0,
    "lineAmount": 2075,
    "amountInclVAT": 2376.93,
    "genBusPostingGroup": "BINNENLAND",
    "vatBusPostingGroup": "BINNENLAND",
    "tariffNo": "",
    "documentNo": "103001",
    "lineNo": 10000,
    "allowPaymentDiscount": false,
    "systemModifiedAt": "2022-05-30T12:43:10.09Z"
}

CFL Sales Credit Memo API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedsalescreditmemo';
EntitySetName = 'postedsalescreditmemos';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalescreditmemos
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalescreditmemos?$expand=documentimages
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedsalescreditmemos?$expand=postedSalesCreditMemoLines

Entity:

{
    "@odata.etag": "W/\"JzE5OzkyMjkwOTEyODE5NDM0MjYxNDkxOzAwOyc=\"",
    "no": "104001",
    "billtocustomerno": "10000",
    "billtocustomername": "Van Terp Kantoorinrichting",
    "amount": 362.9,
    "amountinclvat": 439.11,
    "postingDate": "2023-01-15",
    "dueDate": "2023-01-15",
    "systemModifiedAt": "2022-12-08T10:55:44.99Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ]
}

CFL Sales Invoice Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedSalesInvoiceLine';
EntitySetName = 'postedSalesInvoiceLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesCreditMemoLines

Entity:

{
    "@odata.etag": "W/\"JzIwOzE1MTcxODYzNTA3MTEzNzEyMjE4MTswMDsn\"",
    "documentNo": "104001",
    "lineNo": 10000,
    "type": "Item",
    "no": "1968-S",
    "description": "MEXICO Draaistoel, zwart",
    "quantity": 2,
    "unitOfMeasureCode": "STUKS",
    "unitPrice": 191,
    "lineDiscountPct": 0,
    "lineAmount": 382,
    "amountInclVAT": 439.11,
    "genBusPostingGroup": "BINNENLAND",
    "vatBusPostingGroup": "BINNENLAND",
    "tariffNo": "",
    "documentNo": "103001",
    "lineNo": 10000,
    "allowPaymentDiscount": false,
    "systemModifiedAt": "2022-05-30T12:43:13.717Z"
}

CFL Sales Shipment API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedSalesShipment';
EntitySetName = 'postedSalesShipments';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesShipments
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesShipments?$expand=documentimages Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesShipments?$expand=postedSalesShipmentLines

Entity:

 {
    "@odata.etag": "W/\"JzIwOzEwMjkyNzA3NzE5NDkyNDY0NDAxMTswMDsn\"",
    "no": "102006",
    "selltocustomerno": "49858585",
    "selltocustomername": "Hotel Pferdesee",
    "billtocustomerno": "49858585",
    "billtocustomername": "Hotel Pferdesee",
    "documentDate": "2023-01-05",
    "orderDate": "2023-01-05",
    "postingDate": "2023-01-05",
    "shipmentDate": "2023-01-05",
    "dueDate": "2023-02-05",
    "requestedDeliveryDate": "0001-01-01",
    "promisedDeliveryDate": "0001-01-01",
    "shipmentMethodCode": "EXW",
    "locationCode": "GROEN",
    "genBusPostingGroup": "NORMAAL",
    "systemModifiedAt": "2022-12-08T10:57:39.367Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ],
    "postedSalesShipmentLines": [
        {
            "@odata.etag": "W/\"JzIwOzExNTgyNzM4OTc0NDQ0MjU3MzA2MTswMDsn\"",
            "documentNo": "102006",
            "lineNo": 10000,
            "type": "Item",
            "no": "1976-W",
            "description": "INNSBRUCK Kast/w.deur",
            "quantity": 31.23778844,
            "unitOfMeasureCode": "STUKS",
            "unitPrice": 396.7,
            "lineDiscountPct": 15,
            "genBusPostingGroup": "NORMAAL",
            "genProdPostingGroup": "DET.HANDEL",
            "vatBusPostingGroup": "EU",
            "vatProdPostingGroup": "G3",
            "tariffNo": "",
            "documentNo": "103001",
            "lineNo": 10000,
            "allowPaymentDiscount": false,
            "systemModifiedAt": "2022-12-08T10:57:39.38Z"
        }
    ]
}

CFL Sales Shipment Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedSalesShipmentLines';
EntitySetName = 'postedSalesShipmentLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedSalesShipmentLines

Entity:

{
    "@odata.etag": "W/\"JzIwOzExNTgyNzM4OTc0NDQ0MjU3MzA2MTswMDsn\"",
    "documentNo": "102006",
    "lineNo": 10000,
    "type": "Item",
    "no": "1976-W",
    "description": "INNSBRUCK Kast/w.deur",
    "quantity": 31.23778844,
    "unitOfMeasureCode": "STUKS",
    "unitPrice": 396.7,
    "lineDiscountPct": 15,
    "genBusPostingGroup": "NORMAAL",
    "genProdPostingGroup": "DET.HANDEL",
    "vatBusPostingGroup": "EU",
    "vatProdPostingGroup": "G3",
    "tariffNo": "",
    "documentNo": "103001",
    "lineNo": 10000,
    "allowPaymentDiscount": false,
    "systemModifiedAt": "2022-12-08T10:57:39.38Z"
}

CFL Return Receipt API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedReturnReceipt';
EntitySetName = 'postedReturnReceipt';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnReceipt
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnReceipt?$expand=documentimages Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnReceipts?$expand=postedReturnReceiptLines

Entity:

{
    "@odata.etag": "W/\"JzE5OzYxMDExOTk4NTY2NDg5MzM5NzgxOzAwOyc=\"",
    "no": "107001",
    "customerno": "10000",
    "customername": "Van Terp Kantoorinrichting",
    "billtocustomerno": "10000",
    "billtocustomername": "Van Terp Kantoorinrichting",
    "documentDate": "2023-01-15",
    "orderDate": "2023-01-15",
    "postingDate": "2023-01-15",
    "shipmentDate": "2023-01-15",
    "dueDate": "2023-01-15",
    "requestedDeliveryDate": "0001-01-01",
    "promisedDeliveryDate": "0001-01-01",
    "shipmentMethodCode": "",
    "locationCode": "BLAUW",
    "genBusPostingGroup": "NORMAAL",
    "systemModifiedAt": "2022-12-08T10:55:46.177Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ],
    "postedReturnReceiptLines": [
        {
            "@odata.etag": "W/\"JzIwOzEzMjY2OTE5Mzc4NDMwMzExOTk3MTswMDsn\"",
            "documentNo": "107001",
            "lineNo": 10000,
            "type": "Item",
            "no": "1968-S",
            "description": "MEXICO Draaistoel, zwart",
            "quantity": 2,
            "unitOfMeasureCode": "STUKS",
            "unitPrice": 191,
            "lineDiscountPct": 0,
            "genBusPostingGroup": "NORMAAL",
            "genProdPostingGroup": "DET.HANDEL",
            "vatBusPostingGroup": "BINNENL",
            "vatProdPostingGroup": "G3",
            "tariffNo": "",
            "allowPaymentDiscount": false,
            "documentNo": "103001",
            "lineNo": 10000,
            "systemModifiedAt": "2022-12-08T10:55:46.193Z"
        }
    ]
}

CFL Return Receipt Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedReturnReceiptLine';
EntitySetName = 'postedReturnReceiptLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnReceiptLines

Entity:

 {
    "@odata.etag": "W/\"JzIwOzEzMjY2OTE5Mzc4NDMwMzExOTk3MTswMDsn\"",
    "documentNo": "107001",
    "lineNo": 10000,
    "type": "Item",
    "no": "1968-S",
    "description": "MEXICO Draaistoel, zwart",
    "quantity": 2,
    "unitOfMeasureCode": "STUKS",
    "unitPrice": 191,
    "lineDiscountPct": 0,
    "genBusPostingGroup": "NORMAAL",
    "genProdPostingGroup": "DET.HANDEL",
    "vatBusPostingGroup": "BINNENL",
    "vatProdPostingGroup": "G3",
    "tariffNo": "",
    "allowPaymentDiscount": false,
    "documentNo": "103001",
    "lineNo": 10000,
    "systemModifiedAt": "2022-12-08T10:55:46.193Z"
}

CFL Purchase Invoice API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedpurchaseinvoice';
EntitySetName = 'postedpurchaseinvoices';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchaseinvoices Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchaseinvoices?$expand=documentimages

Entity:

{
    "@odata.etag": "W/\"JzIwOzE3ODE1Mzc3MDQ0ODQ5NzQzNjA0MTswMDsn\"",
    "no": "108001",
    "vendorno": "44127904",
    "vendorname": "WoodMart Supply Co.",
    "amount": 20000,
    "amountinclvat": 20000,
    "postingDate": "2022-01-30",
    "dueDate": "2022-01-31",
    "systemModifiedAt": "2022-12-08T10:57:39.413Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ]
}

CFL Purchase Invoice Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedPurchaseInvoiceLines';
EntitySetName = 'postedPurchaseInvoiceLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseInvoiceLines

Entity:

{
    "@odata.etag": "W/\"JzE5Ozk5MDg1NzA0Mjk2ODQyMTM3MzYxOzAwOyc=\"",
    "documentNo": "108001",
    "lineNo": 10000,
    "type": "Fixed Asset",
    "no": "VA000050",
    "description": "Transportband",
    "quantity": 1,
    "unitOfMeasureCode": "",
    "directUnitCost": 20000,
    "lineDiscountPct": 0,
    "lineAmount": 20000,
    "amountInclVAT": 20000,
    "genBusPostingGroup": "NORMAAL",
    "vatBusPostingGroup": "EU",
    "tariffNo": "",
    "allowPaymentDiscount": false,
    "documentNo": "103001",
    "lineNo": 10000,
    "systemModifiedAt": "2022-12-08T10:57:39.477Z"
}

CFL Purchase Credit Memo API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedpurchasecreditmemo';
EntitySetName = 'postedpurchasecreditmemos';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchasecreditmemos
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchasecreditmemos?$expand=documentimages

Entity:

 {
    "@odata.etag": "W/\"JzE5OzI5NDQ2NDk2ODg5NjgwMTM4NTcxOzAwOyc=\"",
    "no": "109001",
    "vendorno": "30000",
    "vendorname": "BestHout Technologie",
    "amount": 43900,
    "amountinclvat": 53119,
    "postingDate": "2023-01-12",
    "dueDate": "2023-01-12",
    "systemModifiedAt": "2022-12-08T10:55:45.02Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ]
}

CFL Purchase Credit Memo Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedPurchaseInvoiceLines';
EntitySetName = 'postedPurchaseInvoiceLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseCreditMemoLines

Entity:

{
    "@odata.etag": "W/\"JzE5OzExMjUyMTEzOTE3Mzc2NzU4MzQxOzAwOyc=\"",
    "documentNo": "108001",
    "lineNo": 10000,
    "type": "Fixed Asset",
    "no": "VA000050",
    "description": "Transportband",
    "quantity": 1,
    "unitOfMeasureCode": "",
    "directUnitCost": 20000,
    "lineDiscountPct": 0,
    "lineAmount": 20000,
    "amountInclVAT": 20000,
    "genBusPostingGroup": "NORMAAL",
    "vatBusPostingGroup": "EU",
    "tariffNo": "",
    "documentNo": "103001",
    "lineNo": 10000,
    "systemModifiedAt": "2022-12-08T10:57:39.477Z"
}

CFL Purchase Credit Memo API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedpurchasecreditmemo';
EntitySetName = 'postedpurchasecreditmemos';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchasecreditmemos
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedpurchasecreditmemos?$expand=documentimages

Entity:

 {
    "@odata.etag": "W/\"JzE5OzI5NDQ2NDk2ODg5NjgwMTM4NTcxOzAwOyc=\"",
    "no": "109001",
    "vendorno": "30000",
    "vendorname": "BestHout Technologie",
    "amount": 43900,
    "amountinclvat": 53119,
    "postingDate": "2023-01-12",
    "dueDate": "2023-01-12",
    "systemModifiedAt": "2022-12-08T10:55:45.02Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ]
}

CFL Purchase Receipt API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedPurchaseReceipts';
EntitySetName = 'postedPurchaseReceipts';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseReceipts
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseReceipts?$expand=documentimages
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseReceipts?$expand=postedPurchaseReceiptLines

Entity:

{
    "@odata.etag": "W/\"JzE5OzQ2MDcwNDE3NjczMzQ0MTE0MTIxOzAwOyc=\"",
    "no": "107001",
    "buyFromVendorNo": "44127914",
    "buyFromVendorName": "Mortimor Car Company",
    "payToVendorNo": "44127914",
    "payToVendorName": "Mortimor Car Company",
    "documentDate": "2022-01-01",
    "orderDate": "2022-01-01",
    "postingDate": "2022-01-01",
    "expectedReceiptDate": "2022-01-01",
    "dueDate": "2022-01-31",
    "requestedReceiptDate": "0001-01-01",
    "promisedReceiptDate": "2022-01-01",
    "shipmentMethodCode": "CIF",
    "locationCode": "",
    "genBusPostingGroup": "NORMAAL",
    "systemModifiedAt": "2022-12-08T10:57:39.413Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ],
    "postedPurchaseReceiptLines": [
                {
                    "@odata.etag": "W/\"JzIwOzE3NjMzMjM5MDY3ODIzMTc2MTY3MTswMDsn\"",
                    "documentNo": "107001",
                    "lineNo": 10000,
                    "type": "Fixed Asset",
                    "no": "VA000010",
                    "description": "Mercedes 300",
                    "quantity": 1,
                    "unitOfMeasureCode": "",
                    "directUnitCost": 30000,
                    "lineDiscountPct": 0,
                    "genBusPostingGroup": "NORMAAL",
                    "genProdPostingGroup": "DIV",
                    "vatBusPostingGroup": "EU",
                    "vatProdPostingGroup": "I3",
                    "tariffNo": "",
                    "allowPaymentDiscount": false,
                    "documentNo": "103001",
                    "lineNo": 10000,
                    "systemModifiedAt": "2022-12-08T10:57:39.413Z"
                }
            ]
}

CFL Purchase Receipt Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedPurchaseReceiptLine';
EntitySetName = 'postedPurchaseReceiptLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedPurchaseReceiptLines

Entity:

{
    "@odata.etag": "W/\"JzIwOzE3NjMzMjM5MDY3ODIzMTc2MTY3MTswMDsn\"",
    "documentNo": "107001",
    "lineNo": 10000,
    "type": "Fixed Asset",
    "no": "VA000010",
    "description": "Mercedes 300",
    "quantity": 1,
    "unitOfMeasureCode": "",
    "directUnitCost": 30000,
    "lineDiscountPct": 0,
    "genBusPostingGroup": "NORMAAL",
    "genProdPostingGroup": "DIV",
    "vatBusPostingGroup": "EU",
    "vatProdPostingGroup": "I3",
    "tariffNo": "",
    "allowPaymentDiscount": false,
    "documentNo": "103001",
    "lineNo": 10000,
    "systemModifiedAt": "2022-12-08T10:57:39.413Z"
}

CFL Return Shipment API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedReturnShipments';
EntitySetName = 'postedReturnShipments';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnShipments
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnShipments?$expand=documentimages
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnShipments?$expand=postedReturnShipmentLines

Entity:

{
    "@odata.etag": "W/\"JzIwOzEzODY0MjA0OTg3NDk3NDc4MTUwMTswMDsn\"",
    "no": "105001",
    "buyFromVendorNo": "30000",
    "buyFromVendorName": "BestHout Technologie",
    "payToVendorNo": "30000",
    "payToVendorName": "BestHout Technologie",
    "postingDate": "2023-01-12",
    "documentDate": "2023-01-12",
    "expectedReceiptDate": "2023-01-12",
    "dueDate": "2023-01-12",
    "shipmentMethodCode": "CIF",
    "locationCode": "",
    "genBusPostingGroup": "NORMAAL",
    "systemModifiedAt": "2022-12-08T10:55:46.177Z",
     "documentimages": [
         {
                    "@odata.etag": "W/\"JzIwOzExMjQ2MDU3NjQ1NjYwNjQwNzU0MTswMDsn\"",
                    "cflPrimaryKey": "104ec5cf-ec98-4c5d-8b38-7149d6be729d",
                    "filename": "VF2300020.pdf",
                    "pdf": "<base64 encoded pdf>"
         }
    ],
    "postedReturnShipmentLines": [
        {
            "@odata.etag": "W/\"JzE4OzQ2NjY5NDkyNzU1MzcyNDAyMDE7MDA7Jw==\"",
            "documentNo": "105001",
            "lineNo": 10000,
            "type": "Item",
            "no": "1968-W",
            "description": "GRENOBLE Whiteboard, rood",
            "quantity": 40,
            "unitOfMeasureCode": "STUKS",
            "directUnitCost": 1097.5,
            "lineDiscountPct": 0,
            "genBusPostingGroup": "NORMAAL",
            "genProdPostingGroup": "DET.HANDEL",
            "vatBusPostingGroup": "BINNENL",
            "vatProdPostingGroup": "G3",
            "tariffNo": "",
            "allowPaymentDiscount": false,
            "documentNo": "103001",
            "lineNo": 10000,
            "systemModifiedAt": "2022-12-08T10:55:46.177Z"
        }
    ]
}

CFL Return Shipment Lines API v2.1

APIPublisher = 'christiaens';
APIGroup = 'bocountdynamics';
APIVersion = 'v2.1';
EntityName = 'postedPurchaseReceiptLine';
EntitySetName = 'postedPurchaseReceiptLines';

method: GET
Url: https://server:port/serverinstance/api/Christiaens/BoCountDynamics/v2.1/companies(companyid)/postedReturnShipmentLines

Entity:

 {
    "@odata.etag": "W/\"JzE4OzQ2NjY5NDkyNzU1MzcyNDAyMDE7MDA7Jw==\"",
    "documentNo": "105001",
    "lineNo": 10000,
    "type": "Item",
    "no": "1968-W",
    "description": "GRENOBLE Whiteboard, rood",
    "quantity": 40,
    "unitOfMeasureCode": "STUKS",
    "directUnitCost": 1097.5,
    "lineDiscountPct": 0,
    "genBusPostingGroup": "NORMAAL",
    "genProdPostingGroup": "DET.HANDEL",
    "vatBusPostingGroup": "BINNENL",
    "vatProdPostingGroup": "G3",
    "tariffNo": "",
    "allowPaymentDiscount": false,
    "documentNo": "103001",
    "lineNo": 10000,
    "systemModifiedAt": "2022-12-08T10:55:46.177Z"
}