to get a personalized navigation.
to get a personalized navigation.
Hi,
We're having trouble creating supplier payments with branch. It only works if we set default cash account on the supplier. It has to be the same cash account as the supplier payment or else it won't work. We're getting a error message that says: "Cash account cannot be empty".
Would you like to see if it would be possible to make it work even if we don't set default cash account?
Please see our json below.
{
"type": {
"value": "Payment"
},
"applicationDate": {
"value": "2023-02-21T12:10:06.244Z"
},
"paymentRef": {
"value": "Nettan reglering"
},
"supplier": {
"value": "SupplierInvoice.Supplier"
},
"paymentMethod": {
"value": "SupplierInvoice.PaymentMethod"
},
"cashAccount": {
"value": "SupplierInvoice.CashAccount"
},
"currency": {
"value": "EUR"
},
"paymentAmount": {
"value": 1000
},
"branch": {
"value": "22"
},
"paymentLines": [{
"operation": "Insert",
"documentType": {
"value": "Invoice"
},
"refNbr": {
"value": "SupplierInvoice.ReferenceNumber"
},
"amountPaid": {
"value": 1000
},
"crossRate": {
"value": 10
}
}
]
}
Copyright © 2022 Visma.com. All rights reserved.