quickbooks - Trying to add a Payment on QBO Credit Memo -


i'm trying add payment credit memo type throws error this.

{"fault":{"error":[{"message":"a business validation error has occurred while processing request","detail":"business validation error: amount received (plus credits) can't less selected charges. also, selected charges can't less selected credits.","code":"6000","element":""}],"type":"validationfault"},"time":"2017-09-13t21:33:58.047-07:00"}

here sample post body request

{     "customerref":     {         "value": "73",     "name": "john doe"     },     "totalamt": 1100.0,     "line": [     {         "amount": 1100.0,         "linkedtxn": [         {             "txnid": "250",             "txntype": "creditmemo"         }]     }] } 

i try on api explorer https://developer.intuit.com/v2/apiexplorer?apiname=v3qbo#?id=payment, throws same error. please give me idea on how solve this. thanks!


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -