#moe-invoiceitems-taxrates
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Can you provide the Invoice ID? Were the pending Invoice items for the same customer?
Invoice ID example:
in_1OUb2gIFhqcTD1Yz3IiCEneu
And yes the pending invoice items were for the same customer
POST /v1/invoices
Source: Stripe/v1 NodeBindings/14.7.0
API Version: 2023-10-16
Time: 1/3/24, 3:27:58 PM EST
Request POST body (some metadata items anonymized...)
{
"pending_invoice_items_behavior": "include",
"metadata": {
"stage": "dev",
"tenantId": "abcdefg",
"tenantName": "test",
"createdByAPI": "true"
},
"auto_advance": "false",
"automatic_tax": {
"enabled": "true"
},
"days_until_due": "30",
"collection_method": "send_invoice",
"customer": "cus_tenant_prod_61e229c8-e7fb-409a-972a-2735a6a483d9_revShare",
"currency": "cad"
}
Still lookin into this, but I can see the empty lines when the Invoice was created as well as parameters you passed in this request
https://dashboard.stripe.com/logs/req_lxhNW3jrHhFO3Q
Thank you Snufkin ๐
Yes we didn't pass any line parameters into the request to create an invoice, as that is not supported according to the docs. We want to collect all the pending invoice items. ๐
This was working ok until this month when we tried to make invoices on Jan 3rd
Right, so you were creating Invoice Item records https://stripe.com/docs/api/invoiceitems/create and then expecting them to get picked up by the later created Invoice
Can you share the ID of a couple of those items you expected in this Invoice?
Yes sure
ii_1OOz0ZIFhqcTD1YzbVQ7vEad
ii_1ONgq0IFhqcTD1YzVciEng6G
ii_1OHFQaIFhqcTD1YzAPxdqdVu
Okay I conferred with a colleague who is an expert in our billing services and she suspects it is because the Invoice Items had manual tax rates associated with them while the Invoice was created with automatic tax enabled.
moe-invoiceitems-taxrates
Thanks for that info we will give that a go ๐
By that I mean, disabling auto-tax