I have received a reply from support:
---------------------
We’re aware of an issue introduced in 2025.7 where some users encounter a System.ArgumentNullException during invoice POST, specifically when the API attempts to read Online Payments configuration. We’ve raised this internally with our engineering team and are tracking it closely.
In the meantime, the steps we recommend are:
- Rebuild your project against the 2025.7 SDK so the client and server versions are aligned. After updating, restart the MYOB AccountRight API and Server services.
- Test with a minimal invoice payload (one line, no attachments or payment flags) to rule out payload-level causes.
- Open the file in the desktop app, visit Online Payments settings, and re-save or confirm the configuration before retrying. This refresh can sometimes clear the null reference.
-------------------
Currently there is no 2025.7 SDK, but I have tried using POST & PUT requests via Powershell and have the same issue.
We don't use online payments so will not be going through that process.