#Julien

1 messages · Page 1 of 1 (latest)

flat finchBOT
autumn nimbus
#

I wish I could help, but this server is only in english and I cannot read the screenshots. I believe you need to make sure you're looking at the latest event on your Invoice, but I'm not sure. Our support folks will be able to help you better than I can: https://support.stripe.com/contact

heavy tartan
#

Thing is, I requested the invoice shown in the screenshot through the API (the one shown in the first screenshot)

#

The data that the API returned is the one in the screenshot. You can see that the two dates are the same.

#

This date (1663226000) is the 5th of september

#

However the UI (screenshot number 2) on that same invoice says the true period, from 5h of september to 5th of october.

#

I will check the latest event as requested and get back to you.

autumn nimbus
#

The event you're looking at seems to be an old event. Re-retrieve the Invoice via the API and post the payload (I suspect the dates will be different)

heavy tartan
#

I will do that and get back to you shortly

#
  "object": {
    "id": "in_1LeSlxC8pVNfXauyLsNvTCKv",
    "object": "invoice",
    "amount_due": 434,
    "charge": "py_3LeTlbC8pVNfXauy1qz8RcCw",
    "currency": "eur",
    "customer": "cus_LhuRgBn0xlT0Da",
    "default_payment_method": null,
    "default_source": null,
    "number": "5E35DC6C-0020",
    "payment_intent": "pi_3LeTlbC8pVNfXauy1Xdq0eJU",
    "period_end": 1662336000,
    "period_start": 1662336000,
    "status": "paid",
    "subscription": "sub_1LeSlxC8pVNfXauySjnnMgOc",
    "total": 434,
    
...
  }
}```
#

This is the latest event on the invoice.