[#531] Invoice amount in API is wrong

Migrated from Redmine #531 | Author: Jeffrey van Hal
Status: Feedback | Priority: Immediate, there is BUG! | Created: 2020-05-15


Given the following information:

  • I have an event with a price of 145 euro
  • I assign 5 resources to it
  • I make a booking and pay for it

Then I make an API-call as defaultAdmin (https://user-api.simplybook.me/admin)
getBookings([“code” => “vo41dph7”]

  • public invoice_amount → string (8) “725.0000”
  • public payed_amount → string (8) “725.0000”

Both are wrong and should be 145. That is also the price listed on the invoice. It got multiplied by the number of resources.

Dmytro Bondarev wrote:

Please provide company login.

Jeffrey van Hal wrote:

that would be “onehourlockup”

Jeffrey van Hal wrote:

Do you have an update for me ?

Val Komarov wrote:

Should have been fixed already. Is it still incorrect?

Jeffrey van Hal wrote:

Ah, Yes

I did not get any feedback and have another issue with wrong prices, similar to this one, hence the follow up question.

I can’t close the issue myself. But this one can be closed and I will make a new issue for the new problem later this week.