An application error has occurred while processing your request, Detail: System Failure Error: java.lang.NullPointerException, Element: Not provided
I am trying to `https://sandbox-quickbooks.api.intuit.com/v3/company/9341453856788467/purchase` create a Credit Card Credit using the api but I am getting an error message:
```An application error has occurred while processing your request, Detail: System Failure Error: java.lang.NullPointerException, Element: Not provided```
```
{
"Line": [
{
"DetailType": "AccountBasedExpenseLineDetail",
"Amount": 5.4,
"Description": "Uber 063015 SF**POOL**",
"AccountBasedExpenseLineDetail": {
"AccountRef": {
"value": "7"
}
}
}
],
"TxnDate": "2025-06-18",
"PrivateNote": "Uber 063015 SF**POOL**",
"PaymentType": "CreditCard",
"AccountRef": {
"value": "41"
},
"Credit": true
}
```