#pablo barcos

1 messages · Page 1 of 1 (latest)

untold ruinBOT
unkempt juniper
#

the problem is with this subscription:

#

sub_1LnrG4FwcDcE2pVJnoSkPlUJ

neat jetty
#

👋 Hi there, Happy to help!

#

Let me check this

unkempt juniper
#

Thanks

#

I need to update the next invoice to 1 december

#

no to 7 december

neat jetty
unkempt juniper
#

and how can i change now from the dashboard to set the next invoice to 1 december?

neat jetty
#

AFAIK, the billing anchor is set at the creation of the invoice, or when updating the subcsription. You can't set a target invoice date.

unkempt juniper
#

so i con not change the date for the next invoice?

neat jetty
#

Yeah, but again, you can update the date of the billing_cycle_anchor while updating the subscription. For example in 1 of Decembre, you do an update on the subscription and pass billing_cycle_anchor: now, then the next invoice will come at the start of the next month

unkempt juniper
#

and to update now to set the next invoice to 1 of december?

neat jetty
#

no you can't

unkempt juniper
#

and you know how can i delete draf invoices in dashboard?

neat jetty
#

If the draft invoice is for a subscription you can't delete it, but if it's a manual invoice then you can deleted

unkempt juniper
#

is not manual and i dont have the option

neat jetty
#

Yeah, for subscription/automatic, you can't delete is from your dashboard as I mentioned above

unkempt juniper
#

sorry i dont understand

#

the invoice is automatic

#

so i can deleted o not?

neat jetty
unkempt juniper
#

and if i dont want to a invoice be payed?

neat jetty
#

You need to delete the related subscription then

unkempt juniper
#

and created again?

neat jetty
#

What is the use case you're trying to account for? why you don't want an invoice to be paid first?

unkempt juniper
#

the problem is there is a draft invoice created that are wrong

#

and i dont want it

bronze warren
#

Sure, then just void it

unkempt juniper
#

they will deleted automaticaly?

twilit mountain
#

Invoices are never deleted, but if you void it then there won't be any payment collected

unkempt juniper
#

but if you have automatic pay they will charged to de customer?

twilit mountain
unkempt juniper
#

and how can you void a invoice in the dashboard?

twilit mountain
#

hmm, not sure that you can

unkempt juniper
#

and how is the way of void a invoice?

twilit mountain
unkempt juniper
#

you know how to change mode in stripe cli to make changes in the real account

#

it appears mode: test

twilit mountain
unkempt juniper
#

{
  "error": {
    "message": "The provided key 'rk_live_*********************************************************************************************PSXL72' does not have the required permissions for this endpoint on account 'acct_1Kr2WWFwcDcE2pVJ'. Having the 'rak_invoice_write' permission would allow this request to continue.",
    "request_log_url": "https://dashboard.stripe.com/logs/req_GHcTFKO3BkOJlB?t=1667823132",
    "type": "invalid_request_error"
  }
}

twilit mountain
#

yeah I don't think you can really make live requests using the CLI, it's not designed for that use case and that option doesn't work very well

#

I'd suggest writing a script or some code from your real integration

unkempt juniper
#

or postman?

twilit mountain
#

I suppose