I’m trying to create a simple AP Bill via the Rest API, but am running into an issue where it appears Acumatica is validating the Subaccount field and producing an error even though I have valid accounts in the account and subaccount.
Below in the UI screenshot when I enter line 1, the account and sub default from the vendor record. In line 2 I have manually entered the account and subaccount from the payload that are valid. In line 3 shows as I first update the account, the subaccount is showing an error just like the API payload response. I can’t use PATCH because this is the initial PUT to create the bill. I have also tried creating a non-stock item with no expense account or sub to see if that helps, but it does not.
Right now, the only solution I can see is to delete the account and subaccount from the vendor so it doesn’t default into the line. One thought is to turn off the commit on the Account field in a customization, but that doesn’t feel right.
Are there any other solutions?
Note: This is 2025 R2, not SP1

