Closed martin55 closed 4 months ago
Hi @martin55 .
VatPercentage of 0 is accepted and is a supported. I cannot reproduce this issue in testing, can you please provide a full payload you are sending or the value of the request-id header in the error response you are getting?
Describe the bug
Payload schema doesn't accept item's 'vatPercentage' when it's zero (0).
In docs vatPercentage is described with type 'integer' therefore it should accept also 0. My customer's use case also requires it to be zero.
Steps to Reproduce
Send create request with items e.g.
Expected behaviour
It should not throw any validation error.
Actual behaviour
It returns schema validation error.