Invoice, Payment status mapping

Hey @hillel ,

I’m getting different ‘status_id’ for the Invoice, Payment entities.
But there is no mapping with id and name of what is what.
Could you please clarify?! Thanks!

Found seeds in the code that look a bit different than in the documentation.
for the Invoice

and for the Payment

Used incorrect repository…
Could be useful for other people

Statuses for the Invoice:


Statuses for the Payment:

1 Like


Thanks for sharing the solution!