You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling this function: 'invoice.create_for_charge_items_and_charges asks for billing_address', I get an error stating: 'billing_address should be specified'. Even though I provide a customer_id.
I just want to create an invoice for an existing customer for an existing charge, by it's unique id.
Steps to reproduce
Just call the function like in the code snippit.
Expected Behavior
When I use the REST/CURL api https://{site}.chargebee.com/api/v2/invoices/create_for_charge_items_and_charges I don't get this error and it works as expected.
Code Snippets (if applicable)
awaitchargebee.invoice.create_for_charge_items_and_charges({customer_id: "123",item_tiers: [{item_price_id: 'sample-charge-1',},],discounts: [],// This field is mandatory, which is also weird}).request();
Operating System
macOS
Language version
Node 20.11.0
Library version
2.34.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description of the Bug
When calling this function: 'invoice.create_for_charge_items_and_charges asks for billing_address', I get an error stating: 'billing_address should be specified'. Even though I provide a customer_id.
I just want to create an invoice for an existing customer for an existing charge, by it's unique id.
Steps to reproduce
Just call the function like in the code snippit.
Expected Behavior
When I use the REST/CURL api https://{site}.chargebee.com/api/v2/invoices/create_for_charge_items_and_charges I don't get this error and it works as expected.
Code Snippets (if applicable)
Operating System
macOS
Language version
Node 20.11.0
Library version
2.34.0
Additional context
No response
The text was updated successfully, but these errors were encountered: