a month ago
ERROR: Failed to send AR Invoice (ID: 11585479049602/Number: CO29046) to SAP: Update the exchange rate
{
"U_PTA_order_id": 11585479049602,
"U_Magento_WebId": 11585479049602,
"NumAtCard": "CO29046",
"TotalDiscount": 0,
"DocTotal": 4,
"DocCur": "GBP",
"CardCode": "CNL254995",
"DocDate": "2025-03-10",
"DocDueDate": "2025-03-10",
"ShippingMethod": "8",
"JournalMemo": "POS Invoice %s Payment Method: %s",
"Comments": "POS Invoice %s Payment Method: %s",
"TotalDiscountSC": 0,
"paymentMethods": "Credit Card",
"customer": {
"CardName": " ",
"CardType": "C",
"GroupCode": "105",
"CompanyPrivate": "cCompany",
"Series": "69",
"Phone1": "",
"EmailAddress": "l@p.nl",
"Address": "",
"City": null,
"County": null,
"Country": null,
"ZipCode": null,
"MailAddress": null,
"MailCity": null,
"MailCounty": null,
"MailCountry": null,
"MailZipCode": null,
"PriceListNum": "9"
},
"DocumentLines": [
{
"ItemCode": "PA-AW23-5-O-CLOCK-L-001",
"Quantity": 1,
"Price": 3.3333,
"AccountCode": "140100",
"GOGSAccountCode": "400005",
"WarehouseCode": "03",
"TaxCode": "O1"
}
]
Request clarification before answering.
Dear @honeytoyorada
Since this is complaining about Exchange rate, I'd check the exchange rate of your target database (SAP Business One) is set for the period the transaction is taking place based on the currencies. From the payload, it looks like you are working with GBP.
Is your Exchange rate set between System Currency and GBP?
Is your GL Account 140100 and 400005 a multicurrency account? GBP Account? something else?
You are also sending
"TotalDiscountSC": 0,
along with
"TotalDiscount": 0,
This tells me that the system currency is different than the document currency. Hence the question about your exchange rate between the 2 currencies.
If you are certain that system currency and GBP has the correct exchange rate for the period you are posting, and everything looks good, try creating the document in SAP Business One manually and right click "Preview Journal Entry" and see if you get the same error as the error you provided seems like a custom error and not something seen on Service Layer or DI API.
Sincerely,
@ens_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.