Array
(
    [0] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3462.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => 
                    [order_number] => phil + glyn Extras
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 4.13
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 24.8
                    [total_number_of_items] => 2
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 2
                    [till_number] => 3
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-07-04
                            [expected_date] => 2023-07-04
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => FMRWCSC
                            [stock_description] => FORME WC TURN SC
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 17.904
                            [item_price_exclusive] => 14.92
                            [discount_percentage] => 0
                            [line_total_inclusive] => 17.904
                            [line_total_exclusive] => 14.92
                            [custom_cost] => 0
                            [list_price] => 17.904
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => ADBCE25SC
                            [stock_description] => 2.5" TUBULAR DEADBOLT SATIN CHROME
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 6.9
                            [item_price_exclusive] => 5.75
                            [discount_percentage] => 0
                            [line_total_inclusive] => 6.9
                            [line_total_exclusive] => 5.75
                            [custom_cost] => 0
                            [list_price] => 6.9
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [1] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3608
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => 
                    [order_number] => wayne mccool
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 19.16
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 114.97
                    [total_number_of_items] => 1
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 2
                    [till_number] => 3
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-07-18
                            [expected_date] => 2023-07-18
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => MAKDJR186Z
                            [stock_description] => MAKITA 18V RECIP Body Only
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 114.972
                            [item_price_exclusive] => 95.81
                            [discount_percentage] => 0
                            [line_total_inclusive] => 114.972
                            [line_total_exclusive] => 95.81
                            [custom_cost] => 0
                            [list_price] => 122.496
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [2] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3777.5
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 17 DARBY ROAD
                            [1] => BURTON UPON STATHER
                            [2] => SCUNTHORPE
                            [3] =>  N LINCS
                        )

                    [email_address] => 
                    [order_number] => oliver hall
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 406.34
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 2438.05
                    [total_number_of_items] => 81.05
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 2
                    [till_number] => 2
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 07738864893
                    [vat_number] => 
                    [postal_code] => DN15 9EA
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => PEACE
                    [debtor_name] => S PEACE
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-03
                            [expected_date] => 2023-08-03
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => SHTFEP9.0
                            [stock_description] => 9MM FAR EASTERN PLYWOOD
                            [comment] => COLLECTED
                            [quantity] => 15
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 18.531
                            [item_price_exclusive] => 15.4425
                            [discount_percentage] => 0
                            [line_total_inclusive] => 277.965
                            [line_total_exclusive] => 231.6375
                            [custom_cost] => 0
                            [list_price] => 18.531
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => SHTFEP5.5
                            [stock_description] => 5.5MM FAR EASTERN PLYWOOD
                            [comment] => 8X2 (X2)
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 13.68
                            [item_price_exclusive] => 11.4
                            [discount_percentage] => 0
                            [line_total_inclusive] => 13.68
                            [line_total_exclusive] => 11.4
                            [custom_cost] => 0
                            [list_price] => 13.68
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => SHTFEP5.5
                            [stock_description] => 5.5MM FAR EASTERN PLYWOOD
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 13.68
                            [item_price_exclusive] => 11.4
                            [discount_percentage] => 0
                            [line_total_inclusive] => 13.68
                            [line_total_exclusive] => 11.4
                            [custom_cost] => 0
                            [list_price] => 13.68
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => CHENE-LVT-HERR-1683
                            [stock_description] => Chene RIGID CIGAR OAK H/BONE CW1683
                            [comment] => 
                            [quantity] => 34.05
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 1
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 29.988
                            [item_price_exclusive] => 24.99
                            [discount_percentage] => 0
                            [line_total_inclusive] => 1021.0914
                            [line_total_exclusive] => 850.9095
                            [custom_cost] => 0
                            [list_price] => 29.988
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => JWBR4200W
                            [stock_description] => JWT WHITE BASERAIL UNGROOVED 4.2M
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 48.708
                            [item_price_exclusive] => 40.59
                            [discount_percentage] => 0
                            [line_total_inclusive] => 97.416
                            [line_total_exclusive] => 81.18
                            [custom_cost] => 0
                            [list_price] => 48.708
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [5] => Array
                        (
                            [stock_code] => JWHR2400W
                            [stock_description] => JWT WHITE HANDRAIL UNGROOVED 2.4m
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 39.3254
                            [item_price_exclusive] => 32.7712
                            [discount_percentage] => 0
                            [line_total_inclusive] => 39.3254
                            [line_total_exclusive] => 32.7712
                            [custom_cost] => 0
                            [list_price] => 39.3254
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [6] => Array
                        (
                            [stock_code] => JWHR4200W
                            [stock_description] => JWT WHITE HANDRAIL UNGROOVED 4.2M
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 71.4
                            [item_price_exclusive] => 59.5
                            [discount_percentage] => 0
                            [line_total_inclusive] => 71.4
                            [line_total_exclusive] => 59.5
                            [custom_cost] => 0
                            [list_price] => 87.684
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [7] => Array
                        (
                            [stock_code] => FITTING
                            [stock_description] => FITTING SERVICE
                            [comment] => 
                            [quantity] => 7
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 36
                            [item_price_exclusive] => 30
                            [discount_percentage] => 0
                            [line_total_inclusive] => 252
                            [line_total_exclusive] => 210
                            [custom_cost] => 0
                            [list_price] => 36
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [8] => Array
                        (
                            [stock_code] => PFOMEX30
                            [stock_description] => 78X30 OAK MEXICANO PFIN
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 133.5
                            [item_price_exclusive] => 111.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 133.5
                            [line_total_exclusive] => 111.25
                            [custom_cost] => 0
                            [list_price] => 133.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [9] => Array
                        (
                            [stock_code] => PFOMEX27
                            [stock_description] => 78X27 OAK MEXICANO PFIN
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 133.5
                            [item_price_exclusive] => 111.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 133.5
                            [line_total_exclusive] => 111.25
                            [custom_cost] => 0
                            [list_price] => 133.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [10] => Array
                        (
                            [stock_code] => PFOMEX1L30
                            [stock_description] => 78X30 PRE-FIN OAK MEXICANO 1L SILKSCREEN GL
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 187.5
                            [item_price_exclusive] => 156.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 187.5
                            [line_total_exclusive] => 156.25
                            [custom_cost] => 0
                            [list_price] => 187.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [11] => Array
                        (
                            [stock_code] => 18150PSEGROOVE4.4M
                            [stock_description] => 18 X 150 PRIMED MDF PSE GROOVE SKIRTING 4.4M
                            [comment] => 
                            [quantity] => 8
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 16.4165
                            [item_price_exclusive] => 13.6804
                            [discount_percentage] => 0
                            [line_total_inclusive] => 131.3318
                            [line_total_exclusive] => 109.4432
                            [custom_cost] => 0
                            [list_price] => 16.4165
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [12] => Array
                        (
                            [stock_code] => 1875PSEGROOVE4.4M
                            [stock_description] => 18 X 75 PRIMED MDF PSE GROOVE ARCHITRAVE 4.4M
                            [comment] => 
                            [quantity] => 8
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 8.2082
                            [item_price_exclusive] => 6.8402
                            [discount_percentage] => 0
                            [line_total_inclusive] => 65.6659
                            [line_total_exclusive] => 54.7216
                            [custom_cost] => 0
                            [list_price] => 8.2082
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [3] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3805.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 12 COATES AVENUE
                            [1] => 
                            [2] => WINTERTON
                            [3] =>  N LINCS
                        )

                    [email_address] => JHJOINERYSERVICESLTD@YAHOO.CO.UK
                    [order_number] => 
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 27.48
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 164.89
                    [total_number_of_items] => 14
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 07908027614
                    [vat_number] => 
                    [postal_code] => DN15 9SP
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => JHJOINER
                    [debtor_name] => J H JOINERY SERVICES LTD
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-05
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 83633
                            [stock_description] => AGED BRASS BEEHIVE RIM KNOB SET
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 57.96
                            [item_price_exclusive] => 48.3
                            [discount_percentage] => 0
                            [line_total_inclusive] => 57.96
                            [line_total_exclusive] => 48.3
                            [custom_cost] => 0
                            [list_price] => 48.3
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 83818
                            [stock_description] => AGED BRASS OVAL ESCUTCHEON
                            [comment] => 
                            [quantity] => 12
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 7.992
                            [item_price_exclusive] => 6.66
                            [discount_percentage] => 0
                            [line_total_inclusive] => 95.904
                            [line_total_exclusive] => 79.92
                            [custom_cost] => 0
                            [list_price] => 6.66
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => ALKDEAD3LK3MAB
                            [stock_description] => 3 LEVER KEY DEADLOCK 3" MATT ANTIQUE BRASS
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 11.0322
                            [item_price_exclusive] => 9.1935
                            [discount_percentage] => 0
                            [line_total_inclusive] => 11.0322
                            [line_total_exclusive] => 9.1935
                            [custom_cost] => 0
                            [list_price] => 9.19
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [4] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3817
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => 
                    [order_number] => HILL
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 16.08
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 96.47
                    [total_number_of_items] => 4
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-07
                            [expected_date] => 2023-08-07
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 18175TORMDFSKI4.4M
                            [stock_description] => 18 x 175 TORUS MDF SKIRTING 4.4M
                            [comment] => 
                            [quantity] => 4
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 24.1181
                            [item_price_exclusive] => 20.0984
                            [discount_percentage] => 0
                            [line_total_inclusive] => 96.4723
                            [line_total_exclusive] => 80.3936
                            [custom_cost] => 0
                            [list_price] => 21.2807
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [5] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3833.2
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => BLACKWOOD
                            [1] => WILTON ROAD
                            [2] => HUMBERSTON
                            [3] =>  GRIMSBY, NE LINCS
                        )

                    [email_address] => accounts@jembuild.co.uk
                    [order_number] => JB200/SS
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 283.6
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 1701.6
                    [total_number_of_items] => 15
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 2
                    [till_number] => 2
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => DN36 4AW
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => JEM
                    [debtor_name] => JEMBUILD LTD
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-08
                            [expected_date] => 2023-08-08
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => JWMD4200O
                            [stock_description] => 4.2M WHITE OAK MODERN ELEMENT GLASS TYPE H/R
                            [comment] => 
                            [quantity] => 3
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 210
                            [item_price_exclusive] => 175
                            [discount_percentage] => 0
                            [line_total_inclusive] => 630
                            [line_total_exclusive] => 525
                            [custom_cost] => 0
                            [list_price] => 169.559
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => JWMD2400O
                            [stock_description] => 2.4M WHITE OAK MODERN ELEMENT GLASS TYPE H/R
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 117.6
                            [item_price_exclusive] => 98
                            [discount_percentage] => 0
                            [line_total_inclusive] => 117.6
                            [line_total_exclusive] => 98
                            [custom_cost] => 0
                            [list_price] => 91.1242
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => JWMD3600O
                            [stock_description] => 3.6M WHITE OAK MODERN ELEMENT GLASS TYPE H/R
                            [comment] => 
                            [quantity] => 4
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 174
                            [item_price_exclusive] => 145
                            [discount_percentage] => 0
                            [line_total_inclusive] => 696
                            [line_total_exclusive] => 580
                            [custom_cost] => 0
                            [list_price] => 141.0704
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => MACHINING SERVICE
                            [stock_description] => MACHINING SERVICE CHARGE
                            [comment] => 
                            [quantity] => 6
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 36
                            [item_price_exclusive] => 30
                            [discount_percentage] => 0
                            [line_total_inclusive] => 216
                            [line_total_exclusive] => 180
                            [custom_cost] => 0
                            [list_price] => 36
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => SP001131
                            [stock_description] => 1 - Selection of Sundries
                            [comment] => zipbolts
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 42
                            [item_price_exclusive] => 35
                            [discount_percentage] => 0
                            [line_total_inclusive] => 42
                            [line_total_exclusive] => 35
                            [custom_cost] => 0
                            [list_price] => 90
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [6] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3780.3
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 17A PARKINSON AVENUE
                            [1] => SCUNTHORPE
                            [2] => N LINCS
                            [3] => 
                        )

                    [email_address] => info@hillbuildershumberside.co.uk
                    [order_number] => 
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 25.14
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 150.84
                    [total_number_of_items] => 0.55868
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 2
                    [till_number] => 3
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 01724 865045
                    [vat_number] => 364964317
                    [postal_code] => DN15 7JY
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => HILL
                    [debtor_name] => HILL BUILDERS HUMBERSIDE (LTD)
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-03
                            [expected_date] => 2023-08-03
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 50SAPRS
                            [stock_description] => 50MM SAPELE R/S
                            [comment] => 
                            [quantity] => 0.036
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 2.4
                                    [volume_width] => 0.05
                                    [volume_height] => 0.15
                                    [volume_quantity] => 2
                                    [volume_value] => 1
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 2288.412
                            [item_price_exclusive] => 1907.01
                            [discount_percentage] => 0
                            [line_total_inclusive] => 82.3828
                            [line_total_exclusive] => 68.6524
                            [custom_cost] => 0
                            [list_price] => 2288.412
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 63SAPRS
                            [stock_description] => 63MM SAPELE R/S
                            [comment] => 
                            [quantity] => 0.02268
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 2.4
                                    [volume_width] => 0.063
                                    [volume_height] => 0.15
                                    [volume_quantity] => 1
                                    [volume_value] => 1
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 2224.9272
                            [item_price_exclusive] => 1854.106
                            [discount_percentage] => 0
                            [line_total_inclusive] => 50.4613
                            [line_total_exclusive] => 42.0511
                            [custom_cost] => 0
                            [list_price] => 2224.9272
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => MACHINING SERVICE
                            [stock_description] => MACHINING SERVICE CHARGE
                            [comment] => 
                            [quantity] => 0.5
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 36
                            [item_price_exclusive] => 30
                            [discount_percentage] => 0
                            [line_total_inclusive] => 18
                            [line_total_exclusive] => 15
                            [custom_cost] => 0
                            [list_price] => 36
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [7] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3796.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 24 woods meadow
                            [1] => Hibaldstow
                            [2] => 
                            [3] => 
                        )

                    [email_address] => cswjoinery@outlook.com
                    [order_number] => climate control
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 251.7
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 1510.19
                    [total_number_of_items] => 18
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 07909105605
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CSW
                    [debtor_name] => CSW JOINERY
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-04
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => HARDHYPSC
                            [stock_description] => HYPERION SATIN CHROME H/WARE PACK
                            [comment] => Polished chrome
                            [quantity] => 8
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 27
                            [item_price_exclusive] => 22.5
                            [discount_percentage] => 0
                            [line_total_inclusive] => 216
                            [line_total_exclusive] => 180
                            [custom_cost] => 0
                            [list_price] => 22.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => OLIN30
                            [stock_description] => 78x30 OAK LINCOLN 3 PANEL
                            [comment] => 
                            [quantity] => 6
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 127.5
                            [item_price_exclusive] => 106.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 765
                            [line_total_exclusive] => 637.5
                            [custom_cost] => 0
                            [list_price] => 106.25
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => OLING30
                            [stock_description] => 78x30 OAK LINCOLN 3 PANEL GLAZED
                            [comment] => 
                            [quantity] => 3
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 165
                            [item_price_exclusive] => 137.5
                            [discount_percentage] => 0
                            [line_total_inclusive] => 495
                            [line_total_exclusive] => 412.5
                            [custom_cost] => 0
                            [list_price] => 137.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => HARDHYPSCPRI
                            [stock_description] => HYPERION HARDWARE BATHROOM SET SC
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 34.188
                            [item_price_exclusive] => 28.49
                            [discount_percentage] => 0
                            [line_total_inclusive] => 34.188
                            [line_total_exclusive] => 28.49
                            [custom_cost] => 0
                            [list_price] => 28.49
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [8] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3840
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => cswjoinery@outlook.com
                    [order_number] => gadwall way
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 32.2
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 193.22
                    [total_number_of_items] => 2
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 07909105605
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CSW
                    [debtor_name] => CSW JOINERY
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-09
                            [expected_date] => 2023-08-09
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => JWRM4200O
                            [stock_description] => JWT OAK MOPSTICK HANDRAIL 4.2M
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 121.1598
                            [item_price_exclusive] => 100.9665
                            [discount_percentage] => 0
                            [line_total_inclusive] => 121.1598
                            [line_total_exclusive] => 100.9665
                            [custom_cost] => 0
                            [list_price] => 121.1598
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => JWSC90O
                            [stock_description] => JWT OAK STOP CHAMF NEWELL 1.5M
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 72.06
                            [item_price_exclusive] => 60.05
                            [discount_percentage] => 0
                            [line_total_inclusive] => 72.06
                            [line_total_exclusive] => 60.05
                            [custom_cost] => 0
                            [list_price] => 72.06
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [9] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3850
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 10 LYNTON CLOSE
                            [1] => SCUNTHORPE
                            [2] => 
                            [3] => 
                        )

                    [email_address] => BRIAN@HOWESJOINERY.CO.UK
                    [order_number] => Gates
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 147.97
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 887.8
                    [total_number_of_items] => 12
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => 30 Days
                    [telephone_number] => 07745290391
                    [vat_number] => 
                    [postal_code] => DN15 8DJ
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => HOWE
                    [debtor_name] => HOWES JOINERY
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-10
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => SP002148
                            [stock_description] => 2240 X 1800 PAIR FLB DRIVEWAY GATES
                            [comment] => Tight Size
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 750
                            [item_price_exclusive] => 625
                            [discount_percentage] => 0
                            [line_total_inclusive] => 750
                            [line_total_exclusive] => 625
                            [custom_cost] => 0
                            [list_price] => 625
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 8295855
                            [stock_description] => 24"""" BLK CRNKD HOOK AND BANDS ( 1 PR)
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 20.448
                            [item_price_exclusive] => 17.04
                            [discount_percentage] => 0
                            [line_total_inclusive] => 40.896
                            [line_total_exclusive] => 34.08
                            [custom_cost] => 0
                            [list_price] => 17.04
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => 1260B300
                            [stock_description] => 300MM GARAGE DOOR BOLT BLACK
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 11.4
                            [item_price_exclusive] => 9.5
                            [discount_percentage] => 0
                            [line_total_inclusive] => 11.4
                            [line_total_exclusive] => 9.5
                            [custom_cost] => 0
                            [list_price] => 9.5
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 4909783
                            [stock_description] => 8"""" X 1/2"""" BLK BRENTON BOLT
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 4.956
                            [item_price_exclusive] => 4.13
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.912
                            [line_total_exclusive] => 8.26
                            [custom_cost] => 0
                            [list_price] => 4.13
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => 11260050BK
                            [stock_description] => 50MM SINGLE LOCKING LONG THROW LOCK & SS BAR
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 36.4416
                            [item_price_exclusive] => 30.368
                            [discount_percentage] => 0
                            [line_total_inclusive] => 36.4416
                            [line_total_exclusive] => 30.368
                            [custom_cost] => 0
                            [list_price] => 30.37
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [5] => Array
                        (
                            [stock_code] => 8FT4X4PO
                            [stock_description] => 8FT or 2.4mtr (4x4 or 100x100) FENCE POST
                            [comment] => 75mm x 100mm x 2400 (X1)
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 12.455
                            [item_price_exclusive] => 10.3792
                            [discount_percentage] => 0
                            [line_total_inclusive] => 24.9101
                            [line_total_exclusive] => 20.7584
                            [custom_cost] => 0
                            [list_price] => 10.38
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [6] => Array
                        (
                            [stock_code] => TM633
                            [stock_description] => 44 X 12 PSE STRIPWOOD
                            [comment] => 
                            [quantity] => 3
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 4.7453
                            [item_price_exclusive] => 3.9544
                            [discount_percentage] => 0
                            [line_total_inclusive] => 14.2358
                            [line_total_exclusive] => 11.8632
                            [custom_cost] => 0
                            [list_price] => 3.95
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [10] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3852.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => SCOTTER COMMON
                            [2] => 
                            [3] => 
                        )

                    [email_address] => 
                    [order_number] => elsi
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 298.52
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 1791.11
                    [total_number_of_items] => 166
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 5
                    [till_number] => 2
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-10
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 53SWS1252400
                            [stock_description] => KN PLASTERBOARD 2400 X 1200 X 12.5MM SE
                            [comment] => 
                            [quantity] => 50
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 12.6864
                            [item_price_exclusive] => 10.572
                            [discount_percentage] => 0
                            [line_total_inclusive] => 634.32
                            [line_total_exclusive] => 528.6
                            [custom_cost] => 0
                            [list_price] => 10.57
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => T38DRY1000
                            [stock_description] => 38MM BLACK DRYWALL SCREWS (1000)
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 11.0592
                            [item_price_exclusive] => 9.216
                            [discount_percentage] => 0
                            [line_total_inclusive] => 11.0592
                            [line_total_exclusive] => 9.216
                            [custom_cost] => 0
                            [list_price] => 9.22
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => FORDWS38BPC
                            [stock_description] => F/FIX COLL DRYWALL SCREWS 3.9 X 38MM ( 1000)
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 16.188
                            [item_price_exclusive] => 13.49
                            [discount_percentage] => 0
                            [line_total_inclusive] => 16.188
                            [line_total_exclusive] => 13.49
                            [custom_cost] => 0
                            [list_price] => 13.49
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 53JQMF
                            [stock_description] => BG THISTLE MULTI FINISH 25KG
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 10.8576
                            [item_price_exclusive] => 9.048
                            [discount_percentage] => 0
                            [line_total_inclusive] => 10.8576
                            [line_total_exclusive] => 9.048
                            [custom_cost] => 0
                            [list_price] => 9.05
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => 53WABC25
                            [stock_description] => KN PLASTERBOARD ADHESIVE 25KG
                            [comment] => 
                            [quantity] => 20
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 12.03
                            [item_price_exclusive] => 10.025
                            [discount_percentage] => 0
                            [line_total_inclusive] => 240.6
                            [line_total_exclusive] => 200.5
                            [custom_cost] => 0
                            [list_price] => 10.03
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [5] => Array
                        (
                            [stock_code] => 41G553A3000
                            [stock_description] => THINCOAT ANGLE BEADS 3.0M
                            [comment] => 
                            [quantity] => 50
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 2.5536
                            [item_price_exclusive] => 2.128
                            [discount_percentage] => 0
                            [line_total_inclusive] => 127.68
                            [line_total_exclusive] => 106.4
                            [custom_cost] => 0
                            [list_price] => 2.13
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [6] => Array
                        (
                            [stock_code] => 53ZAFTXS90050W
                            [stock_description] => FIBATAPE 90M X 48MM
                            [comment] => 
                            [quantity] => 5
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 4.5
                            [item_price_exclusive] => 3.75
                            [discount_percentage] => 0
                            [line_total_inclusive] => 22.5
                            [line_total_exclusive] => 18.75
                            [custom_cost] => 0
                            [list_price] => 3.75
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [7] => Array
                        (
                            [stock_code] => 40BFBBLUE10
                            [stock_description] => EVERBLD FEBOND BLUE GRIT 10L
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 35.7
                            [item_price_exclusive] => 29.75
                            [discount_percentage] => 0
                            [line_total_inclusive] => 71.4
                            [line_total_exclusive] => 59.5
                            [custom_cost] => 0
                            [list_price] => 29.75
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [8] => Array
                        (
                            [stock_code] => EVBCONPVA5
                            [stock_description] => 5KG  CONTRACTORS PVA
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 14.256
                            [item_price_exclusive] => 11.88
                            [discount_percentage] => 0
                            [line_total_inclusive] => 28.512
                            [line_total_exclusive] => 23.76
                            [custom_cost] => 0
                            [list_price] => 11.88
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [9] => Array
                        (
                            [stock_code] => STA029822
                            [stock_description] => STANLEY EMULSION ROLLER AND TRAY 9""""
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 7.1146
                            [item_price_exclusive] => 5.9288
                            [discount_percentage] => 0
                            [line_total_inclusive] => 14.2291
                            [line_total_exclusive] => 11.8576
                            [custom_cost] => 0
                            [list_price] => 5.93
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [10] => Array
                        (
                            [stock_code] => 53JPBC
                            [stock_description] => BG THISTLE BONDING COAT 25KG
                            [comment] => 
                            [quantity] => 5
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 14.7456
                            [item_price_exclusive] => 12.288
                            [discount_percentage] => 0
                            [line_total_inclusive] => 73.728
                            [line_total_exclusive] => 61.44
                            [custom_cost] => 0
                            [list_price] => 12.29
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [11] => Array
                        (
                            [stock_code] => EVOGRIPFILL
                            [stock_description] => EVOSTIK GRIPFILL ADHESIVE 350ML
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 5.3525
                            [item_price_exclusive] => 4.4604
                            [discount_percentage] => 0
                            [line_total_inclusive] => 10.705
                            [line_total_exclusive] => 8.9208
                            [custom_cost] => 0
                            [list_price] => 4.46
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [12] => Array
                        (
                            [stock_code] => 48UATLDDGYP040
                            [stock_description] => UN THERMAL LINER 2400 X 1200 X 52.5MM
                            [comment] => 
                            [quantity] => 25
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 21.1734
                            [item_price_exclusive] => 17.6445
                            [discount_percentage] => 0
                            [line_total_inclusive] => 529.335
                            [line_total_exclusive] => 441.1125
                            [custom_cost] => 0
                            [list_price] => 17.64
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [11] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3853.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 100 WARWICK ROAD
                            [1] => SCUNTHORPE
                            [2] => 
                            [3] =>  07597917107
                        )

                    [email_address] => enquiries@enerco.ltd
                    [order_number] => 0083
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 7.85
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 47.09
                    [total_number_of_items] => 3
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 01522 305373
                    [vat_number] => 277326284
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => ENE
                    [debtor_name] => ENERCO LTD
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-10
                            [expected_date] => 2023-08-10
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 25125PTG5.1M
                            [stock_description] => 25 x 125 SOFTWOOD PLANED TONGUED & GROOVED FLOORBO
                            [comment] => 
                            [quantity] => 3
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 15.6954
                            [item_price_exclusive] => 13.0795
                            [discount_percentage] => 0
                            [line_total_inclusive] => 47.0862
                            [line_total_exclusive] => 39.2385
                            [custom_cost] => 0
                            [list_price] => 15.6954
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [12] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3857.2
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => 
                    [order_number] => JOE JAGGOTT - RACKING
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 203.38
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 1220.3
                    [total_number_of_items] => 137
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 5
                    [till_number] => 2
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 
                    [vat_number] => 
                    [postal_code] => 
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-10
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 2550PSE4.8M
                            [stock_description] => 25 x 50 SOFTWOOD PLANED SQUARED EDGE 4.8M
                            [comment] => 
                            [quantity] => 43
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 5.0688
                            [item_price_exclusive] => 4.224
                            [discount_percentage] => 0
                            [line_total_inclusive] => 217.9584
                            [line_total_exclusive] => 181.632
                            [custom_cost] => 0
                            [list_price] => 4.22
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 2575PSE4.8M
                            [stock_description] => 25 x 75 SOFTWOOD PLANED SQUARED EDGE 4.8M
                            [comment] => 
                            [quantity] => 36
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 7.863
                            [item_price_exclusive] => 6.5525
                            [discount_percentage] => 0
                            [line_total_inclusive] => 283.068
                            [line_total_exclusive] => 235.89
                            [custom_cost] => 0
                            [list_price] => 6.55
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => 2550PSE4.8M
                            [stock_description] => 25 x 50 SOFTWOOD PLANED SQUARED EDGE 4.8M
                            [comment] => 
                            [quantity] => 36
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 5.0688
                            [item_price_exclusive] => 4.224
                            [discount_percentage] => 0
                            [line_total_inclusive] => 182.4768
                            [line_total_exclusive] => 152.064
                            [custom_cost] => 0
                            [list_price] => 4.22
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 5050PSE4.8M
                            [stock_description] => 50 x 50 SOFTWOOD PLANED SQUARED EDGE 4.8M
                            [comment] => 
                            [quantity] => 10
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 10.4801
                            [item_price_exclusive] => 8.7334
                            [discount_percentage] => 0
                            [line_total_inclusive] => 104.8008
                            [line_total_exclusive] => 87.334
                            [custom_cost] => 0
                            [list_price] => 8.73
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => MACHINING SERVICE
                            [stock_description] => MACHINING SERVICE CHARGE
                            [comment] => 
                            [quantity] => 12
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 36
                            [item_price_exclusive] => 30
                            [discount_percentage] => 0
                            [line_total_inclusive] => 432
                            [line_total_exclusive] => 360
                            [custom_cost] => 0
                            [list_price] => 30
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [13] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3858.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 8 BRACKEN CLOSE
                            [1] => BELTON
                            [2] => DONCASTER
                            [3] =>  NORTH LINCS
                        )

                    [email_address] => STUARTBARNARD61@YAHOO.COM
                    [order_number] => SHAUN HUNT
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 31.85
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 191.08
                    [total_number_of_items] => 5
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 3
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => Not Applicable
                    [telephone_number] => 01724 783118
                    [vat_number] => 
                    [postal_code] => DN9 1RY
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => STUBA
                    [debtor_name] => STUART BARNARD JOINERY
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-10
                            [expected_date] => 2023-08-10
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => PX8225PP
                            [stock_description] => 8 X 225 PERFORMANCE PLUS TORX HD (50)
                            [comment] => 
                            [quantity] => 5
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 38.2158
                            [item_price_exclusive] => 31.8465
                            [discount_percentage] => 0
                            [line_total_inclusive] => 191.079
                            [line_total_exclusive] => 159.2325
                            [custom_cost] => 0
                            [list_price] => 38.2158
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [14] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3862.1
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => HUMBER ROAD
                            [1] => BARTON UPON HUMBER
                            [2] => N LINCS
                            [3] => 
                        )

                    [email_address] => UKAPinvoices@jacobs.com
                    [order_number] => 336026274
                    [delivery_method] => 
                    [delivery_note_number] => 
                    [total_vat] => 277.72
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 1666.3
                    [total_number_of_items] => 358
                    [document_description] => 
                    [print_layout] => 1
                    [warehouse] => 
                    [cashier_number] => 5
                    [till_number] => 2
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => 30 Days
                    [telephone_number] => 01472 353516
                    [vat_number] => 
                    [postal_code] => DN18 5BN
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => Shipping Costs
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => JACOB
                    [debtor_name] => JACOBS FIELD SERVICES LTD
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-11
                            [expected_date] => 1899-12-30
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 47100RSTAN4.8M
                            [stock_description] => 47 x 100 ROUGH SAWN TREATED 4.8M
                            [comment] => 
                            [quantity] => 30
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 10.4022
                            [item_price_exclusive] => 8.6685
                            [discount_percentage] => 0
                            [line_total_inclusive] => 312.066
                            [line_total_exclusive] => 260.055
                            [custom_cost] => 0
                            [list_price] => 8.67
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 22150RSTAN1.83M
                            [stock_description] => 22 X 150 ROUGH SAWN TREATED 1.83M
                            [comment] => 
                            [quantity] => 300
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 3.7824
                            [item_price_exclusive] => 3.152
                            [discount_percentage] => 0
                            [line_total_inclusive] => 1134.72
                            [line_total_exclusive] => 945.6
                            [custom_cost] => 0
                            [list_price] => 3.15
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => 8FT3X3PO
                            [stock_description] => 8FT or 2.4mtr (3x3 or 75x75) FENCE POST
                            [comment] => 
                            [quantity] => 26
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 8.0654
                            [item_price_exclusive] => 6.7212
                            [discount_percentage] => 0
                            [line_total_inclusive] => 209.7014
                            [line_total_exclusive] => 174.7512
                            [custom_cost] => 0
                            [list_price] => 6.72
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 4552035
                            [stock_description] => 75MM BROWN CLAMP BOLT POST SUPPO0RT
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 1
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 4.9038
                            [item_price_exclusive] => 4.0865
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.8076
                            [line_total_exclusive] => 8.173
                            [custom_cost] => 0
                            [list_price] => 4.09
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [15] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3864
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 17 Stainton Drive
                            [1] => Bottesford
                            [2] => 
                            [3] => 
                        )

                    [email_address] => prcastleman@hotmail.co.uk
                    [order_number] => 5870
                    [delivery_method] => AG Tyl By NatWest Checkout
                    [delivery_note_number] => 
                    [total_vat] => 23.13
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 138.79
                    [total_number_of_items] => 17
                    [document_description] => 
                    [print_layout] => 0
                    [warehouse] => 
                    [cashier_number] => 1
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 07818663255
                    [vat_number] => 
                    [postal_code] => DN17 2SF
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => Title..
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-23
                            [expected_date] => 2023-08-23
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 19125SHIPTAN4.2M
                            [stock_description] => 19 X 125 SOFTWOOD SHIPLAP TREATED (14 x 119) 4.2 M
                            [comment] => 
                            [quantity] => 12
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 9.9
                            [item_price_exclusive] => 8.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 118.8
                            [line_total_exclusive] => 99
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 2538TB4.2M
                            [stock_description] => 25 x 38 TREATED TILE BATTEN 4.2M
                            [comment] => 
                            [quantity] => 4
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 2.4994
                            [item_price_exclusive] => 2.0828
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.9974
                            [line_total_exclusive] => 8.3312
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => DELIVERY CHARGE WEBL
                            [stock_description] => Local Delivery
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 9.996
                            [item_price_exclusive] => 8.33
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.996
                            [line_total_exclusive] => 8.33
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [16] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3865
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 31 Manifold Road
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => ianbycroft@icloud.com
                    [order_number] => 5871
                    [delivery_method] => AG Tyl By NatWest Checkout
                    [delivery_note_number] => 
                    [total_vat] => 58.46
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 350.75
                    [total_number_of_items] => 39
                    [document_description] => 
                    [print_layout] => 0
                    [warehouse] => 
                    [cashier_number] => 1
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => 07980753525
                    [vat_number] => 
                    [postal_code] => DN16 2RD
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-23
                            [expected_date] => 2023-08-23
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 2550TB4.8M
                            [stock_description] => 25 x 50 TREATED TILE BATTEN 4.8M
                            [comment] => 
                            [quantity] => 3
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 3.9168
                            [item_price_exclusive] => 3.264
                            [discount_percentage] => 0
                            [line_total_inclusive] => 11.7504
                            [line_total_exclusive] => 9.792
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 2538TB4.2M
                            [stock_description] => 25 x 38 TREATED TILE BATTEN 4.2M
                            [comment] => 
                            [quantity] => 2
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 2.4994
                            [item_price_exclusive] => 2.0828
                            [discount_percentage] => 0
                            [line_total_inclusive] => 4.9987
                            [line_total_exclusive] => 4.1656
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => 19125SHIPTAN4.2M
                            [stock_description] => 19 X 125 SOFTWOOD SHIPLAP TREATED (14 x 119) 4.2 M
                            [comment] => 
                            [quantity] => 32
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 9.9
                            [item_price_exclusive] => 8.25
                            [discount_percentage] => 0
                            [line_total_inclusive] => 316.8
                            [line_total_exclusive] => 264
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 22100RSTAN4.8M
                            [stock_description] => 22 x 100 ROUGH SAWN TREATED 4.8M
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 7.2
                            [item_price_exclusive] => 6
                            [discount_percentage] => 0
                            [line_total_inclusive] => 7.2
                            [line_total_exclusive] => 6
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => DELIVERY CHARGE WEBL
                            [stock_description] => Local Delivery
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 9.996
                            [item_price_exclusive] => 8.33
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.996
                            [line_total_exclusive] => 8.33
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

    [17] => Array
        (
            [export_class] => Sales_Order
            [document] => Array
                (
                    [document_number] => SOR3866
                    [processed_document_number] => 
                    [delivery_address_information] => Array
                        (
                            [0] => 8 Old Hay Lane
                            [1] => 
                            [2] => 
                            [3] => 
                        )

                    [email_address] => joeka101@hotmail.com
                    [order_number] => 5874
                    [delivery_method] => AG Tyl By NatWest Checkout
                    [delivery_note_number] => 
                    [total_vat] => 54.37
                    [discount_percentage] => 0
                    [discount_type] => Percentage
                    [discount_amount] => 0
                    [long_description] => 
                    [document_total] => 326.22
                    [total_number_of_items] => 20
                    [document_description] => 
                    [print_layout] => 0
                    [warehouse] => 
                    [cashier_number] => 1
                    [till_number] => 1
                    [document_includes_vat] => 
                    [currency] => GBP
                    [currency_rate] => 1
                    [internal_order_number] => 
                    [store_department] => 
                    [document_terms] => COD
                    [telephone_number] => +447963091118
                    [vat_number] => 
                    [postal_code] => S17 3GN
                    [extra_charges_information] => Array
                        (
                            [0] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [1] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [2] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                            [3] => Array
                                (
                                    [extra_charge_description] => 
                                    [extra_charge_amount] => 0
                                )

                        )

                    [delivery_route] => 
                    [debtor_account] => CASH
                    [debtor_name] => CASH SALES
                    [sales_representative_number] => 1
                    [loyalty_account] => 
                    [order_information] => Array
                        (
                            [order_date] => 2023-08-24
                            [expected_date] => 2023-08-24
                            [credit_approver_number] => 0
                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [stock_code] => 38125DEC5.4M
                            [stock_description] => 38 x 125 DECKING 5.4M
                            [comment] => 
                            [quantity] => 8
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 15.252
                            [item_price_exclusive] => 12.71
                            [discount_percentage] => 0
                            [line_total_inclusive] => 122.016
                            [line_total_exclusive] => 101.68
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [1] => Array
                        (
                            [stock_code] => 8FT4X4PO
                            [stock_description] => 8FT or 2.4mtr (4x4 or 100x100) FENCE POST
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 14.532
                            [item_price_exclusive] => 12.11
                            [discount_percentage] => 0
                            [line_total_inclusive] => 14.532
                            [line_total_exclusive] => 12.11
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [2] => Array
                        (
                            [stock_code] => 8FT3X3PO
                            [stock_description] => 8FT or 2.4mtr (3x3 or 75x75) FENCE POST
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 9.6
                            [item_price_exclusive] => 8
                            [discount_percentage] => 0
                            [line_total_inclusive] => 9.6
                            [line_total_exclusive] => 8
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [3] => Array
                        (
                            [stock_code] => 47150RSTAN4.2M
                            [stock_description] => 47 x 150 ROUGH SAWN TREATED 4.2M
                            [comment] => 
                            [quantity] => 9
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 15.564
                            [item_price_exclusive] => 12.97
                            [discount_percentage] => 0
                            [line_total_inclusive] => 140.076
                            [line_total_exclusive] => 116.73
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                    [4] => Array
                        (
                            [stock_code] => REGIONALDELIVERY
                            [stock_description] => 25-45m radius
                            [comment] => 
                            [quantity] => 1
                            [volumetrics] => Array
                                (
                                    [units] => 0
                                    [volume_length] => 0
                                    [volume_width] => 0
                                    [volume_height] => 0
                                    [volume_quantity] => 0
                                    [volume_value] => 0
                                    [volume_squarem] => 0
                                    [volume_packsize] => 0
                                    [volume_rounding] => 0
                                )

                            [item_price_inclusive] => 39.996
                            [item_price_exclusive] => 33.33
                            [discount_percentage] => 0
                            [line_total_inclusive] => 39.996
                            [line_total_exclusive] => 33.33
                            [custom_cost] => 0
                            [list_price] => 0
                            [delcol] => 
                            [invoiced_quantity] => 0
                            [auto_processing_code] => 
                        )

                )

        )

)