Test XERO Invoice
Array
(
    [headers] => Array
        (
            [content_type] => application/json
            [content_length] => 153
            [server] => nginx
            [www_authenticate] => Bearer
            [xero_correlation_id] => 7a9673b9-2f01-4a32-be49-0537596f9dda
            [expires] => Fri, 27 May 2022 21:19:46 GMT
            [cache_control] => max-age=0, no-cache, no-store
            [pragma] => no-cache
            [date] => Fri, 27 May 2022 21:19:46 GMT
            [x_client_tls_ver] => tls1.3
        )

    [code] => 401
    [response] => {"Type":null,"Title":"Unauthorized","Status":401,"Detail":"AuthenticationUnsuccessful","Instance":"7a9673b9-2f01-4a32-be49-0537596f9dda","Extensions":{}}
    [info] => Array
        (
            [url] => https://api.xero.com/api.xro/2.0/Invoices?oauth_consumer_key=1F2E200F885D4034B76A1A6B9F2B9E93&oauth_nonce=XU8Ss&oauth_signature=KJOkTafa8%2BwGZx1NZ6FxDuuSkeM8POAosEmgzNURex01J6PsOovbHRLulCy2ukH80OhVrqV0qVPb8SbyLVaYUQNDDyp1y%2FuWdMqolp6Zu5laYfTJBGlODExdJsS9LBLhVieQZk2o7jhYW%2FkZ%2BtK8HFjrbNFwKl9mUcO7BKeLgIrx72M3qMTxi6R9UVR53t6lfh1%2FiDcNZ2PVkqA3e4ZxKrmJHiqWB%2ByW9E1CsoYmmpwvdoaKkoZINCVNrYELVVii9gC%2BhxWki5QqhgnGnIY7wA5m3Yv3ij3B9FSs1%2BEbET3PLT2KRxmWuJcfcc1ZfVWN6zO2HI99fEFsEgIIZFWvTg%3D%3D&oauth_signature_method=RSA-SHA1&oauth_timestamp=1653686386&oauth_token=1F2E200F885D4034B76A1A6B9F2B9E93&oauth_version=1.0
            [content_type] => application/json
            [http_code] => 401
            [header_size] => 335
            [request_size] => 791
            [filetime] => -1
            [ssl_verify_result] => 0
            [redirect_count] => 0
            [total_time] => 0.15176
            [namelookup_time] => 0.016179
            [connect_time] => 0.023608
            [pretransfer_time] => 0.053986
            [size_upload] => 1304
            [size_download] => 153
            [speed_download] => 1008
            [speed_upload] => 8592
            [download_content_length] => 153
            [upload_content_length] => 1304
            [starttransfer_time] => 0.053991
            [redirect_time] => 0
            [redirect_url] => 
            [primary_ip] => 104.86.185.252
            [certinfo] => Array
                (
                )

            [primary_port] => 443
            [local_ip] => 192.145.239.50
            [local_port] => 60560
            [http_version] => 3
            [protocol] => 2
            [ssl_verifyresult] => 0
            [scheme] => HTTPS
            [appconnect_time_us] => 53770
            [connect_time_us] => 23608
            [namelookup_time_us] => 16179
            [pretransfer_time_us] => 53986
            [redirect_time_us] => 0
            [starttransfer_time_us] => 53991
            [total_time_us] => 151760
            [request_header] => POST /api.xro/2.0/Invoices?oauth_consumer_key=1F2E200F885D4034B76A1A6B9F2B9E93&oauth_nonce=XU8Ss&oauth_signature=KJOkTafa8%2BwGZx1NZ6FxDuuSkeM8POAosEmgzNURex01J6PsOovbHRLulCy2ukH80OhVrqV0qVPb8SbyLVaYUQNDDyp1y%2FuWdMqolp6Zu5laYfTJBGlODExdJsS9LBLhVieQZk2o7jhYW%2FkZ%2BtK8HFjrbNFwKl9mUcO7BKeLgIrx72M3qMTxi6R9UVR53t6lfh1%2FiDcNZ2PVkqA3e4ZxKrmJHiqWB%2ByW9E1CsoYmmpwvdoaKkoZINCVNrYELVVii9gC%2BhxWki5QqhgnGnIY7wA5m3Yv3ij3B9FSs1%2BEbET3PLT2KRxmWuJcfcc1ZfVWN6zO2HI99fEFsEgIIZFWvTg%3D%3D&oauth_signature_method=RSA-SHA1&oauth_timestamp=1653686386&oauth_token=1F2E200F885D4034B76A1A6B9F2B9E93&oauth_version=1.0 HTTP/2
Host: api.xero.com
user-agent: YourDepartedApp
accept-encoding: deflate, gzip, br
accept: application/xml
content-type: application/x-www-form-urlencoded
content-length: 1304


        )

    [format] => xml
)