to get a personalized navigation.
to get a personalized navigation.
Hei,
I have also another issue: In the UI its fully possible to set a blank Vat-Code on the Cashtransaction Lines. But thats not possible in the API. When sending "" i get the message that the Vat-Code is not found and when I send a null-value or don't send the field at all I get the standard vat-code from the account.
Our workaround so far is to use a vat-code which don't have vat calculation, but that seems to be a bug in the API.
Florian
Solved! Go to Solution.
Are you getting these issues on certain entryTypes or on all types?
With Disembursement we were able to send a JSON without a VAT code:
Here the Json:
{"hold":{"value":false},"tranDate":{"value":"2021-03-24T00:00:00"},"description":{"value":"Overføring fra POS"},"cashAccount":{"value":"1931"},"entryType":{"value":"13"},"cashTransactionDetails":[{"operation":"Insert","inventoryNumber":{"value":"3030302"},"description":{"value":"Røyken Segway Experience barn"},"quantity":{"value":1.0},"price":{"value":200.0},"offsetAccount":{"value":"2410"}},{"operation":"Insert","inventoryNumber":{"value":"3030301"},"description":{"value":"Røyken Segway Experience voksen"},"quantity":{"value":2.0},"price":{"value":300.0},"offsetAccount":{"value":"2410"}},{"operation":"Insert","inventoryNumber":{"value":"2010101"},"description":{"value":"24 timer voksen"},"quantity":{"value":1.0},"price":{"value":300.0},"offsetAccount":{"value":"3035"}},{"operation":"Insert","description":{"value":"Betalingstransaksjon fra POS"},"amount":{"value":-800.0},"offsetAccount":{"value":"1920"},"vatCode":{"value":""}},{"operation":"Insert","description":{"value":"Betalingstransaksjon fra POS"},"amount":{"value":-300.0},"offsetAccount":{"value":"1931"},"vatCode":{"value":""}}]}
Hi
In the UI there is coming up a VAT-Code when registering the Account. But there it is possible to remove this code and set a blank Vat-Code instead. This we don't get work in the API. Sending blank Vat-Codes in the post-call is obviously not possible.
Florian
Hi,
We're looking in to this and will report it to the development team.
Could you send us an example JSON of how you are expecting it to work?
Thank you.
Hi Magnus
what is the status here? We have still the same issue...
Florian
Copyright © 2022 Visma.com. All rights reserved.