#mecha-chocobo_invoice-item-currency

1 messages ¡ Page 1 of 1 (latest)

jolly orioleBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1347242281136291951

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

minor jungle
#

Hello there

main relic
#

Hi

minor jungle
main relic
#

As I mentioned, we use this process to generate every other invoice we build in the system, why is this one different?

#

If it's not picking up the placeholder invoice item, then I would expect the invoice to not expect an invoice item to already exist, since the default behavior is exclude

minor jungle
#

Ah yes sorry, the reason is you are on an old API version here

main relic
#

ok, I get there was an API update 3 years ago, but I'm still unclear as to why this is only a problem for this one customer right now.

#

I'm looking through the dashboard, but the only error I see is the "Nothing to invoice" message

minor jungle
#

Do you have a different example that didn't run into that error?

#

Hmm also it looks like the unit amount of those Invoice Items is 0, is that expected here?

main relic
#

req_GoN9irFIHei4BH

#

that's for their previous invoice

#

the unit amount is 0 for the placeholder, yeah

minor jungle
#

Okay yeah that does look the same, give me a few minutes to investigate.

main relic
#

The customer is changing their billed currency from USD to AUD, though that's the only difference I am aware of

jolly orioleBOT
minor jungle
#

Pretty sure Invoices only pick up items that match the Customer's default currency if you don't specify that

main relic
#

I see. I'll try that, though it'll be a while

main relic
#

running some test charges, that appears to resolve the issue. Thanks!