Freedom API Errors on post sales invoice/quote

Hi,

I'm attempting to post sales orders to Sage Evo via the Freedom API service.

"GET" Stock stock queries etc. are all working fine, however when i post using SalesOrderPlaceOrder, I get the below validation error:

    "Order quantity cannot be set with this property. Use the SetAttributeQuantities method instead."

I get the same validation error when using QuotationPlaceOrder.

I've tried many different combinations for setting the quantity, but this is the basic structure:

                    var dto = new SalesOrderDto()

                    {

                        CustomerAccountCode = "SHOP001",

                        OrderDate = DateTime.Now,

                        Lines = new DocumentLineDto[] { new DocumentLineDto() {

                            StockCode = "30.99767 M 9",

                            Quantity = 1,

                            UnitPrice = 3499.00d,

                            TaxCode = "15",

                        } },

                        OrderPriority = "Normal"

                    };

I have emailed [email protected] yesterday, but while I wait, I was just wondering if anyone else has encountered this before?

Thank you!! 

Bruce