on 04-10-2023 8:51 AM
Hi,
I am trying to create incoming payment by service layer api. but I still got message.
{ "error" : { "code": -4006, "message": { "lang": "en-us", "value" : "Update the exchange rate" } } }
with payloads
bs1/v1/IncomingPayments
{
"BPLID": 1,
"DocType": "C",
"DocDate": "2023-04-05T00:00:00Z",
"TaxDate": "2023-04-05T00:00:00Z",
"DueDate": "2023-04-04T00:00:00Z",
"VatDate": null,
"CardCode": "C20000",
"Address": null,
"DocCurrency" : "KHR",
"DocRate" : "4100.0",
"ContactPersonCode": null,
"PayToBankCode": null,
"PayToBankBranch": null,
"PayToCode": "",
"PaymentChecks": [
{
"CheckNumber": 1,
"DueDate": "2023-04-04T00:00:00Z",
"CheckSum": 48.290,
"Currency": "KHR",
"CountryCode": "KH"
}
],
"PaymentInvoices": [
{
"DocLine": 0,
"DocEntry": 143,
"DocNum": 1010000072,
"SumApplied": 48.290,
"AppliedFC": 48.290,
"AppliedSys": 48.290,
"DocRate": 4100.0
}
]
}
<br>
Thank you.
Hi sayeang,
The error message clearly explains to update the exchange rate. Can you make sure that the exchange rate is updated?
Also, can you create the same document manually using SAP Business One client inputting the same values as supplied in the JSON request?
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.