Posting sales invoice 58883 to 110321 (Byron Built)... Job execution error (Post Sales Invoices (1 batch, 1 non batch invoice)) SxLib.SxException: Invoice 58883 ---> SxLib.SxException: PostSalesInvoice(58883, 110321, 1/12/2023 12:00:00 AM) ---> SxLib.SxException: Sales Invoice 58883 ---> System.Exception: Encountered a validation error (https://arl2.api.myob.com/accountright/87c4cc6d-d448-4ad9-bbcd-0e6dbfe7b246/Sale/Invoice/Service/) ---> MYOB.AccountRight.SDK.ApiValidationException: Encountered a validation error (https://arl2.api.myob.com/accountright/87c4cc6d-d448-4ad9-bbcd-0e6dbfe7b246/Sale/Invoice/Service/) ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at MYOB.AccountRight.SDK.Communication.BaseRequestHandler.HandleResponseCallback[T,TReq,TResp](IAsyncResult asynchronousResult) in c:\projects\accountright-live-api-net-sdk\MYOB.API.SDK\SDK\Communication\BaseRequestHandler.cs:line 126 --- End of inner exception stack trace --- at MYOB.AccountRight.SDK.Extensions.ExceptionExtensions.ProcessException(Exception ex, Uri requestUri) in c:\projects\accountright-live-api-net-sdk\MYOB.API.SDK\SDK\Extensions\ExceptionExtensions.cs:line 60 at MYOB.AccountRight.SDK.Services.ServiceBase.MakeApiPostRequestSync[TRequest,TResponse](Uri uri, TRequest entity, ICompanyFileCredentials credentials) in c:\projects\accountright-live-api-net-sdk\MYOB.API.SDK\SDK\Services\ServiceBase.cs:line 327 at MYOB.AccountRight.SDK.Services.ServiceBase.MakeApiPostRequestSync[T](Uri uri, T entity, ICompanyFileCredentials credentials) in c:\projects\accountright-live-api-net-sdk\MYOB.API.SDK\SDK\Services\ServiceBase.cs:line 296 at MYOB.AccountRight.SDK.Services.MutableService`1.Insert(CompanyFile cf, T entity, ICompanyFileCredentials credentials, ErrorLevel errorLevel) in c:\projects\accountright-live-api-net-sdk\MYOB.API.SDK\SDK\Services\Version2\MutableService.cs:line 218 at SxMYOBARIf.MYOBARHelper.InsertServiceInvoice(ServiceInvoice inv) in C:\Users\syrinx_Mike\Documents\SATT_SourceCode\SATT_Source_Matt\MYOB.AR\Classes\MYOBARHelper.cs:line 845 --- End of inner exception stack trace --- at SxMYOBARIf.SaMYOBARAccountsSystem.PostSalesInvoice(SaSalesInvoice Invoice) in C:\Users\syrinx_Mike\Documents\SATT_SourceCode\SATT_Source_Matt\MYOB.AR\Classes\SaMYOBARAccountsSystem.cs:line 1872 --- End of inner exception stack trace --- at SxMYOBARIf.SaMYOBARAccountsSystem.PostSalesInvoice(SaSalesInvoice Invoice) in C:\Users\syrinx_Mike\Documents\SATT_SourceCode\SATT_Source_Matt\MYOB.AR\Classes\SaMYOBARAccountsSystem.cs:line 1878 at SxAtx.SaAccountsSystem.PostSalesInvoice(SaSalesInvoice Invoice) --- End of inner exception stack trace --- at SxAtx.SaAccountsSystem.PostSalesInvoice(SaSalesInvoice Invoice) at SxAtx.SaSalesInvoice.PostInvoice(SxProgressBar prog, Int32& countPosted, Int32& countSkipped, Boolean& AnySkip, Boolean& partPosted) --- End of inner exception stack trace --- at SxAtx.SaSalesInvoice.PostInvoice(SxProgressBar prog, Int32& countPosted, Int32& countSkipped, Boolean& AnySkip, Boolean& partPosted) at SxAtx.SaJobDirectTxSInv.Execute(SxProgressBar prog, String& SummaryDescription, Boolean& AnySkip) An error occurred [Post Sales Invoices (1 batch, 1 non batch invoice)]: Job execution error (Post Sales Invoices (1 batch, 1 non batch invoice)) Error: The remote server returned an error: (400) Bad Request. Closing connections... ............................................................................................................................ Transfer End......13:56:49 ............................................................................................................................