#moe-invoiceitems-taxrates

1 messages ยท Page 1 of 1 (latest)

flat sphinxBOT
shrewd valve
#

Hi ๐Ÿ‘‹

Can you provide the Invoice ID? Were the pending Invoice items for the same customer?

devout kernel
#

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"
}
shrewd valve
devout kernel
#

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

shrewd valve
#

Can you share the ID of a couple of those items you expected in this Invoice?

devout kernel
#

Yes sure

ii_1OOz0ZIFhqcTD1YzbVQ7vEad

ii_1ONgq0IFhqcTD1YzVciEng6G

ii_1OHFQaIFhqcTD1YzAPxdqdVu

shrewd valve
#

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.

flat sphinxBOT
#

moe-invoiceitems-taxrates

devout kernel
#

Thanks for that info we will give that a go ๐Ÿ˜ƒ
By that I mean, disabling auto-tax