tripletex-api2
tripletex-api2 copied to clipboard
Unexpected error when posting invoice
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.

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.