#colton

1 messages · Page 1 of 1 (latest)

weak monolithBOT
true timber
twin spade
#

It is possible through the API, however, it does not seem possible through the draft invoice editing UI!

#

Additionally, we would prefer to add a price that has preset metadata, rather than add the metadata manually. Does that make sense?

#

I could build a retool dashboard that does this, but I was hoping it could be done in the UI

true timber
#

Got it, I see.

#

Just making sure I understand the gap. The invoice editor in the Dashboard allows you to add a one-time item to a draft invoice. This one-time item can be added using an existing price. Is the issue that the price metadata isn't visible in the editor? I ask because metadata can be added to the existing price prior to adding it to the invoice draft

twin spade
#

@true timber the issue is that the price cannot be added with a configurable dollar value when creating a new invoice item on a draft invoice -- or, at least, I have not seen a way to do that

#

My ideal flow is:

Edit invoice -> Add item -> Select price that has preset metadata -> Input bespoke dollar amount for the price

#

I believe I might be able to hack around this by having a usage-based price with $1 per unit, and then changing the quantity... but that will look weird on the invoice yaknow?

urban badger
#

Hey there just stepping in for roadrunner - give me a minute to read up

#

What you describe isn't possible, no -- "overriding" the amount for a preconfigured Price isn't supported in any context, you'd need to create a new price for that (or define one ad-hoc)

#

This is by design as a Price is an immutable representation of how much & how often to charge for a given product

twin spade
#

That makes sense to me. Is there any other way to choose "preset metadata" to attach to an invoice item?

urban badger
#

Not that I can think of, i think your use case would require you to set up your own flow to set this dynamically (possibly "importing" metadata from an existing price, at your discretion)

twin spade
#

Got it. Thanks for the help!