I have a Purchase Invoice Page API that runs in my demo tenant sandbox environment. I have set it to use Document Date and Due Date fields. When I create a new purchase invoice using those fileds it fills them with wrong values.
The Due Data field gets the Document Date field value, and the Document Date sets the current date as the value.
If I try to update those two fields to correct values, then It just uses the Document Date value to for both fields.
When I repeat the patch action for the second time with the same values, only then are the Due Date and Document Date fileds correct.
All the actions are done in Postman.
How can I force the request to fill the fields with correct values?