Skip to content

500 Error Creating Invoices since 2025.7 #293

@martic

Description

@martic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions