We are using the MYOB Server API hosted locally and since release of 2025.7 we have been unable to create Invoices via the API.
We are using the latest MYOB.AccountRight.API.SDK 2025.5.658
When Adding a new invoice:
ServiceInvoice newInvoice = _serviceInvoiceService.InsertEx(_companyFile, invoice, _companyFileCredentials, ErrorLevel.WarningsAsErrors);
Receiving errors:
Invoice Exception: Encountered a communication error (http://localhost:8080/AccountRight/xxx-xxx/Sale/Invoice/Service/?warningsAsErrors=true&returnBody=true)
Inner exception: The remote server returned an error: (500) Internal Server Error.
We are using the MYOB Server API hosted locally and since release of 2025.7 we have been unable to create Invoices via the API.
We are using the latest MYOB.AccountRight.API.SDK 2025.5.658
When Adding a new invoice:
ServiceInvoice newInvoice = _serviceInvoiceService.InsertEx(_companyFile, invoice, _companyFileCredentials, ErrorLevel.WarningsAsErrors);
Receiving errors:
Invoice Exception: Encountered a communication error (http://localhost:8080/AccountRight/xxx-xxx/Sale/Invoice/Service/?warningsAsErrors=true&returnBody=true)
Inner exception: The remote server returned an error: (500) Internal Server Error.