cancel
Showing results for 
Search instead for 
Did you mean: 
ogb
New Member - Level 1

API Calls using Financial Integration Service v4

Hi,

 

When using the  

POST https://us.api.concursolutions.com/financialintegration/fi/v4/companies/transactiontypes/invoice/transactions/paymentconfirmations 

Using the JSON message structure below :


{
"systemId": "",
"processingConfirmation": [
{
"docId": "cce08c1d5bad4b2d8fc63669a8b60999",
"processingStatusCode": "CP",
"clearingDetails": [
{
"clearingDate": "2022-12-276T00:00:00.00Z",
"clearingAmount": 120.000 ,
"clearingCurrency": "GBP",
"receiver": {
"receiverId": "RECEIVER1",
"receiverName": "RECEIVER1 LTD",
"receiverType": "VENDOR"
},
"clearingReference": {
"companyCode": "12335",
"financialDocumentId": "0123456",
"fiscalYear": "2022",
"paymentRef": "0000314022",
"paymentMethod": "E"
}
}
]
}
]
}

 

I'm getting the error message:

 

[
    {
        "code"0,
        "docId""cce08c1d5bad4b2d8fc63669a8b60999",
        "systemId"null,
        "paymentConfirmationResult""SYSTEM_ERROR_OCCURRED",
        "errorMessage""Cannot invoke \"String.length()\" because \"this.input\" is null",
        "paymentRef"null,
        "detailMessage"""
    }
]
 
Does anyone have any suggestions on what the error might relate to. Is this a system configuration error. I'm able to Post Financial Payment Confirmations successfully.
 
Cheers,
 
Steve.
1 REPLY 1
teresakearney
SAP Concur Employee
SAP Concur Employee

hello. I'm the product owner for these APIs and since you posted this question we have released the new payload for posting invoice payment confirmations.  I'd be curious if you ultimately got this to work or if it is still needed functionality. 

The error is either the result of the payload (it's a bit different for invoice vs expense) or if you've already confirmed the payload the error may be due to a missing API scope.   I'd be happy to discuss.