tripletex-api2 icon indicating copy to clipboard operation
tripletex-api2 copied to clipboard

Unexpected error when posting invoice

Open tadrian opened this issue 5 years ago • 1 comments

Hello, I am experiencing an error when I send in an order that should be closed attached to an invoice. I have attached an image from postman, if you need the whole json let me know where I should send it.

If the order is set to "isClosed" : false it works. but we need the order to be closed and not possible to invoice.

image

tadrian avatar Dec 21 '20 10:12 tadrian

Hello. You cannot invoice a closed order. If I'm not mistaken, the order will be closed when it is invoiced, so the end result should be what you want with isClosed: false. Let me know if that is not the case. We should give a better validation message here.

supertosse avatar Jan 05 '21 09:01 supertosse