SimpleXMLElement Object
(
    [DebtorId] => 3517
    [Lines] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [StockCode] => MDF124W
                    [IsOriginatedFromTemplate] => false
                    [OrderQuantity] => 1
                    [Discount] => 0
                    [UnitPrice] => 1
                    [IsPriceOverridden] => true
                    [LocationId] => 1
                    [TaxRateId] => 10
                    [ListPrice] => 83.6907
                    [PricePolicyId] => 0
                    [LineType] => 0
                    [UninvoicedQuantity] => 0
                    [ReleaseQuantity] => 0
                    [ReleaseNowQuantity] => 1
                    [LastReleasedQuantity] => 0
                    [PickedQuantity] => 0
                    [PickNowQuantity] => 0
                    [LastPickedQuantity] => 0
                    [StockType] => PhysicalItem
                    [Id] => 461066
                    [BranchId] => 0
                    [TaxRateValue] => 10
                    [IsTaxOverridden] => false
                    [TaxOverrideValue] => 0
                    [Narrative] => SimpleXMLElement Object
                        (
                        )

                    [BackOrderQuantity] => 0
                    [Description] => Discovery 48" Ceiling Fan
                    [BatchCode] => SimpleXMLElement Object
                        (
                        )

                    [DueDate] => 2019-09-05
                    [LineTotal] => 1
                    [InvoicedQuantity] => 0
                    [InvoiceNowQuantity] => 0
                    [LastInvoicedQuantity] => 0
                    [SuppliedQuantity] => 0
                    [SupplyNowQuantity] => 0
                    [LastSuppliedQuantity] => 0
                    [RestrictedLine] => false
                    [RankOrder] => 1
                    [ExtraFields] => Array
                        (
                            [0] => SimpleXMLElement Object
                                (
                                    [Key] => X_STAFF_PRICE
                                    [Value] => 0
                                )

                            [1] => SimpleXMLElement Object
                                (
                                    [Key] => X_PICK_BY
                                    [Value] => SimpleXMLElement Object
                                        (
                                        )

                                )

                            [2] => SimpleXMLElement Object
                                (
                                    [Key] => X_PICK_COMPLETE
                                    [Value] => SimpleXMLElement Object
                                        (
                                        )

                                )

                        )

                )

            [1] => SimpleXMLElement Object
                (
                    [StockCode] => AUTOFREIGHT
                    [IsOriginatedFromTemplate] => false
                    [OrderQuantity] => 1
                    [Discount] => 0
                    [UnitPrice] => 30
                    [IsPriceOverridden] => false
                    [LocationId] => 0
                    [TaxRateId] => 10
                    [ListPrice] => 30
                    [PricePolicyId] => 0
                    [LineType] => 0
                    [UninvoicedQuantity] => 0
                    [ReleaseQuantity] => 0
                    [ReleaseNowQuantity] => 0
                    [LastReleasedQuantity] => 0
                    [PickedQuantity] => 0
                    [PickNowQuantity] => 0
                    [LastPickedQuantity] => 0
                    [StockType] => LookupItem
                    [Id] => 461067
                    [BranchId] => 0
                    [TaxRateValue] => 10
                    [IsTaxOverridden] => false
                    [TaxOverrideValue] => 0
                    [Narrative] => SimpleXMLElement Object
                        (
                        )

                    [BackOrderQuantity] => 0
                    [Description] => Direct Freight Charge $30 If MIV < $30
                    [BatchCode] => SimpleXMLElement Object
                        (
                        )

                    [DueDate] => 2019-09-05
                    [LineTotal] => 30
                    [InvoicedQuantity] => 0
                    [InvoiceNowQuantity] => 0
                    [LastInvoicedQuantity] => 0
                    [SuppliedQuantity] => 0
                    [SupplyNowQuantity] => 0
                    [LastSuppliedQuantity] => 0
                    [RestrictedLine] => false
                    [RankOrder] => 2
                    [ExtraFields] => Array
                        (
                            [0] => SimpleXMLElement Object
                                (
                                    [Key] => X_STAFF_PRICE
                                    [Value] => 0
                                )

                            [1] => SimpleXMLElement Object
                                (
                                    [Key] => X_PICK_BY
                                    [Value] => SimpleXMLElement Object
                                        (
                                        )

                                )

                            [2] => SimpleXMLElement Object
                                (
                                    [Key] => X_PICK_COMPLETE
                                    [Value] => SimpleXMLElement Object
                                        (
                                        )

                                )

                        )

                )

        )

    [TaxRounding] => 0
    [DeliveryCount] => 0
    [InvoiceCount] => 0
    [PickedCount] => 0
    [ReleaseCount] => 0
    [HasUnInvoiced] => false
    [HasUnPicked] => false
    [HasUnReleased] => false
    [HasUnSupplied] => false
    [AllowCustomerOrderNumber] => false
    [CustomerOrderNumber] => 89340745
    [AccountName] => BSO Digital
    [IsTaxInclusive] => false
    [HasBackOrders] => false
    [BranchId] => 0
    [DefaultLocationId] => 0
    [Narrative] => SimpleXMLElement Object
        (
        )

    [CurrencyId] => 0
    [ContactId] => 9
    [SalesPersonId] => 1
    [ExchangeRate] => 1
    [TaxTotal] => 3.1
    [SubTotal] => 31
    [Reference] => 89340745
    [Instructions] => SimpleXMLElement Object
        (
        )

    [CreateDate] => 2019-08-06T22:26:41.32+10:00
    [OrderDate] => 2019-08-06
    [DueDate] => 2019-09-05
    [FinalisationDate] => 2019-08-07T12:14:29.38+10:00
    [ActivationDate] => 2019-08-06T22:26:41.32+10:00
    [DeliveryAddress] => SimpleXMLElement Object
        (
            [Line1] => 10 Elizabeth Street
            [Line2] => Test
            [Line3] => Kensington
            [Line4] => VIC
            [Line5] => 3010
            [Line6] => AU
        )

    [Status] => 2
    [StatusDescription] => Deleted
    [Finalised] => 1
    [OrderTotal] => 34.1
    [LocalValue] => 31
    [HasRestrictedLine] => false
    [LastUpdated] => 2019-08-07T12:14:29.433+10:00
    [ExtraFields] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [Key] => X_SHIP_VIA
                    [Value] => 1
                )

            [1] => SimpleXMLElement Object
                (
                    [Key] => X_CONSIGNMENT_NO
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [2] => SimpleXMLElement Object
                (
                    [Key] => INSTRUCTIONS
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [3] => SimpleXMLElement Object
                (
                    [Key] => X_DISPATCH_DELIVERY
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [4] => SimpleXMLElement Object
                (
                    [Key] => X_CONTACT_NAME
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [5] => SimpleXMLElement Object
                (
                    [Key] => X_CONTACT_PHONE
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [6] => SimpleXMLElement Object
                (
                    [Key] => X_CONTACT_EMAIL
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [7] => SimpleXMLElement Object
                (
                    [Key] => X_SPECIALINSTRUCTIONS
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [8] => SimpleXMLElement Object
                (
                    [Key] => X_SPECIALINSTRUCTIONS2
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [9] => SimpleXMLElement Object
                (
                    [Key] => X_BUSY_BY
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [10] => SimpleXMLElement Object
                (
                    [Key] => X_BUSY_SINCE
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [11] => SimpleXMLElement Object
                (
                    [Key] => X_PICK_COMPLETE
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

            [12] => SimpleXMLElement Object
                (
                    [Key] => X_NO_PART_ORD
                    [Value] => SimpleXMLElement Object
                        (
                        )

                )

        )

    [Id] => 92837
    [Href] => https://exo.api.myob.com/salesorder/92837
)