Attributes
- idstringUnique identifier for the object. For preview invoices created using the create preview endpoint, this id will be prefixed with upcoming_.in 
- auto_advanceboolean Controls whether Stripe performs automatic collection of the invoice. If false, the invoice’s state doesn’t automatically advance without an explicit action.
- automatic_taxobject Settings and latest results for automatic tax lookup for this invoice. - automatic_tax.disabled_ reasonnullable enum If Stripe disabled automatic tax, this enum describes why. Possible enum valuesfinalization_requires_ location_ inputs Stripe’s systems automatically turned off Tax for this invoice when finalizing it with a missing or incomplete location for your customer. finalization_system_ error Stripe’s systems automatically turned off Tax for this invoice due to an internal outage during tax calculation. We expect this to be very rare. Contact support for additional assistance. 
- automatic_tax.enabledboolean Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or tax_) cannot be added to automatic tax invoices.behavior=unspecified 
- automatic_tax.liabilitynullable objectConnect only The account that’s liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. - automatic_tax.liability. accountnullable stringExpandable The connected account being referenced when typeisaccount.
- automatic_tax.liability. typeenum Type of the account referenced. Possible enum valuesaccountIndicates that the account being referenced is a connected account which is different from the account making the API request but related to it. selfIndicates that the account being referenced is the account making the API request. 
 
- automatic_tax.providernullable string The tax provider powering automatic tax. 
- automatic_tax.statusnullable enum The status of the most recent automated tax calculation for this invoice. Possible enum valuescompleteThe automatic tax calculation was successful. failedThe tax calculation failed, please try again later. requires_location_ inputs The location details supplied on the customer aren’t valid or don’t provide enough location information to accurately determine tax rates for the customer. 
 
- collection_methodenum Either charge_, orautomatically send_. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions.invoice Possible enum valuescharge_automatically Attempt payment using the default source attached to the customer. send_invoice Email payment instructions to the customer. 
- confirmation_secretnullable objectExpandable The confirmation secret associated with this invoice. Currently, this contains the client_secret of the PaymentIntent that Stripe creates during invoice finalization. - confirmation_secret.client_ secretstring The client_secret of the payment that Stripe creates for the invoice after finalization. 
- confirmation_secret.typestring The type of client_secret. Currently this is always payment_intent, referencing the default payment_intent that Stripe creates during invoice finalization 
 
- currencyenumThree-letter ISO currency code, in lowercase. Must be a supported currency. 
- customerstringExpandableThe ID of the customer who will be billed. 
- descriptionnullable stringAn arbitrary string attached to the object. Often useful for displaying to users. Referenced as ‘memo’ in the Dashboard. 
- hosted_invoice_ urlnullable string The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null. 
- linesobjectThe individual line items that make up the invoice. linesis sorted as follows: (1) pending invoice items (including prorations) in reverse chronological order, (2) subscription items in reverse chronological order, and (3) invoice items added after invoice creation in chronological order.- lines.objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value list.
- lines.dataarray of objects Details about each object. - lines.data. idstring Unique identifier for the object. 
- lines.data. objectstring String representing the object’s type. Objects of the same type share the same value. 
- lines.data. amountinteger The amount, in cents. 
- lines.data. currencyenum Three-letter ISO currency code, in lowercase. Must be a supported currency. 
- lines.data. descriptionnullable string An arbitrary string attached to the object. Often useful for displaying to users. 
- lines.data. discount_ amountsnullable array of objects The amount of discount calculated per discount for this line item. - lines.data. discount_amounts. amountinteger The amount, in cents, of the discount. 
- lines.data. discount_amounts. discountstringExpandable The discount that was applied to get this discount amount. 
 
- lines.data. discountableboolean If true, discounts will apply to this line item. Always false for prorations. 
- lines.data. discountsarray of stringsExpandable The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use expand[]=discountsto expand each discount.
- lines.data. invoicenullable string The ID of the invoice that contains this line item. 
- lines.data. livemodeboolean Has the value trueif the object exists in live mode or the valuefalseif the object exists in test mode.
- lines.data. metadataobject Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with type=subscription,metadatareflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.
- lines.data. parentnullable object The parent that generated this line item. - lines.data. parent. invoice_ item_ detailsnullable object Details about the invoice item that generated this line item - lines.data. parent. invoice_item_details. invoice_ itemstring The invoice item that generated this line item 
- lines.data. parent. invoice_item_details. prorationboolean Whether this is a proration 
- lines.data. parent. invoice_item_details. proration_ detailsnullable object Additional details for proration line items - lines.data. parent. invoice_item_details. proration_details. credited_ itemsnullable object For a credit proration line_, the original debit line_items to which the credit proration applies.item - lines.data. parent. invoice_item_details. proration_details. credited_items. invoicestring Invoice containing the credited invoice line items 
- lines.data. parent. invoice_item_details. proration_details. credited_items. invoice_ line_ itemsarray of strings Credited invoice line items 
 
 
- lines.data. parent. invoice_item_details. subscriptionnullable string The subscription that the invoice item belongs to 
 
- lines.data. parent. subscription_ item_ detailsnullable object Details about the subscription item that generated this line item - lines.data. parent. subscription_item_details. invoice_ itemnullable string The invoice item that generated this line item 
- lines.data. parent. subscription_item_details. prorationboolean Whether this is a proration 
- lines.data. parent. subscription_item_details. proration_ detailsnullable object Additional details for proration line items - lines.data. parent. subscription_item_details. proration_details. credited_ itemsnullable object For a credit proration line_, the original debit line_items to which the credit proration applies.item - lines.data. parent. subscription_item_details. proration_details. credited_items. invoicestring Invoice containing the credited invoice line items 
- lines.data. parent. subscription_item_details. proration_details. credited_items. invoice_ line_ itemsarray of strings Credited invoice line items 
 
 
- lines.data. parent. subscription_item_details. subscriptionnullable string The subscription that the subscription item belongs to 
- lines.data. parent. subscription_item_details. subscription_ itemstring The subscription item that generated this line item 
 
- lines.data. parent. typeenum The type of parent that generated this line item Possible enum valuesinvoice_item_ details Details of the parent can be found in the invoice_hash.item_ details subscription_item_ details Details of the parent can be found in the subscription_hash.item_ details 
 
- lines.data. periodobject The period this line_covers. For subscription line items, this is the subscription period. For prorations, this starts when the proration was calculated, and ends at the period end of the subscription. For invoice items, this is the time at which the invoice item was created or the period of the item. If you have Stripe Revenue Recognition enabled, the period will be used to recognize and defer revenue. See the Revenue Recognition documentation for details.item - lines.data. period. endtimestamp The end of the period, which must be greater than or equal to the start. This value is inclusive. 
- lines.data. period. starttimestamp The start of the period. This value is inclusive. 
 
- lines.data. pretax_ credit_ amountsnullable array of objects Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this line item. - lines.data. pretax_credit_amounts. amountinteger The amount, in cents, of the pretax credit amount. 
- lines.data. pretax_credit_amounts. credit_ balance_ transactionnullable stringExpandable The credit balance transaction that was applied to get this pretax credit amount. 
- lines.data. pretax_credit_amounts. discountnullable stringExpandable The discount that was applied to get this pretax credit amount. 
- lines.data. pretax_credit_amounts. typeenum Type of the pretax credit amount referenced. Possible enum valuescredit_balance_ transaction The pretax credit amount is from a credit balance transaction. discountThe pretax credit amount is from a discount. 
 
- lines.data. pricingnullable object The pricing information of the line item. - lines.data. pricing. price_ detailsnullable object Additional details about the price this item is associated with. This is present only when the typeisprice_details - lines.data. pricing. price_details. pricestring The ID of the price this item is associated with. 
- lines.data. pricing. price_details. productstring The ID of the product this item is associated with. 
 
- lines.data. pricing. typeenum The type of the pricing details. 
- lines.data. pricing. unit_ amount_ decimalnullable decimal string The unit amount (in the currencyspecified) of the item which contains a decimal value with at most 12 decimal places.
 
- lines.data. quantitynullable integer The quantity of the subscription, if the line item is a subscription or a proration. 
- lines.data. taxesnullable array of objects The tax information of the line item. - lines.data. taxes. amountinteger The amount of the tax, in cents. 
- lines.data. taxes. tax_ behaviorenum Whether this tax is inclusive or exclusive. Possible enum valuesexclusiveinclusive
- lines.data. taxes. tax_ rate_ detailsnullable object Additional details about the tax rate. Only present when typeistax_.rate_ details 
- lines.data. taxes. taxability_ reasonenum The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. Possible enum valuescustomer_exempt No tax is applied as the customer is exempt from tax. not_available The reasoning behind this tax is not available. not_collecting No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code ( txcd_) was used.00000000 not_subject_ to_ tax No tax is imposed on this transaction. not_supported No tax applied. Stripe doesn’t support this jurisdiction, territory, or product. portion_product_ exempt A portion of the price is exempt from tax. portion_reduced_ rated A portion of the price is taxed at a reduced rate. portion_standard_ rated A portion of the price is taxed at the standard rate. product_exempt The product or service is nontaxable or exempt from tax. product_exempt_ holiday The product or service is not taxed due to a sales tax holiday. Show 6 more 
- lines.data. taxes. taxable_ amountnullable integer The amount on which tax is calculated, in cents. 
- lines.data. taxes. typeenum The type of tax information. 
 
 
- lines.has_ moreboolean True if this list has another page of items after this one that can be fetched. 
- lines.urlstring The URL where this list can be accessed. 
 
- metadatanullable objectSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 
- parentnullable objectThe parent that generated this invoice - parent.billing_ cadence_ detailsnullable objectPreview feature Details about the billing cadence that generated this invoice - parent.billing_cadence_details. billing_ cadencestring The billing cadence that generated this invoice 
 
- parent.quote_ detailsnullable object Details about the quote that generated this invoice - parent.quote_details. quotestring The quote that generated this invoice 
 
- parent.subscription_ detailsnullable object Details about the subscription that generated this invoice - parent.subscription_details. metadatanullable object Set of key-value pairs defined as subscription metadata when an invoice is created. Becomes an immutable snapshot of the subscription metadata at the time of invoice finalization. Note: This attribute is populated only for invoices created on or after June 29, 2023. 
- parent.subscription_details. subscriptionstringExpandable The subscription that generated this invoice 
- parent.subscription_details. subscription_ proration_ datenullable timestamp Only set for upcoming invoices that preview prorations. The time used to calculate prorations. 
 
- parent.typeenum The type of parent that generated this invoice Possible enum valuesquote_details Details of the parent can be found in the quote_hash.details subscription_details Details of the parent can be found in the subscription_hash.details 
 
- period_endtimestamp End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the line item period to get the service period for each price. 
- period_starttimestamp Start of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the line item period to get the service period for each price. 
- statusnullable enumThe status of the invoice, one of draft,open,paid,uncollectible, orvoid. Learn more
- totalintegerTotal after discounts and taxes. 
More attributes
- objectstringString representing the object’s type. Objects of the same type share the same value. 
- account_countrynullable string The country of the business associated with this invoice, most often the business creating the invoice. 
- account_namenullable string The public name of the business associated with this invoice, most often the business creating the invoice. 
- account_tax_ idsnullable array of stringsExpandable The account tax IDs associated with the invoice. Only editable when the invoice is a draft. 
- amount_dueinteger Final amount due at this time for this invoice. If the invoice’s total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the amount_may be 0. If there is a positivedue starting_for the invoice (the customer owes money), thebalance amount_will also take that into account. The charge that gets generated for the invoice will be for the amount specified indue amount_.due 
- amount_overpaidinteger Amount that was overpaid on the invoice. The amount overpaid is credited to the customer’s credit balance. 
- amount_paidinteger The amount, in cents, that was paid. 
- amount_remaininginteger The difference between amount_due and amount_paid, in cents. 
- amount_shippinginteger This is the sum of all the shipping amounts. 
- applicationnullable stringExpandableConnect onlyID of the Connect Application that created the invoice. 
- attempt_countinteger Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained. 
- attemptedbooleanWhether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the invoice.webhook, for example, so you might not want to display that invoice as unpaid to your users.created 
- automatically_finalizes_ atnullable timestamp The time when this invoice is currently scheduled to be automatically finalized. The field will be nullif the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always benull- seefinalized_for the time when an already-finalized invoice was finalized.at 
- billing_reasonnullable enum Indicates the reason why the invoice was created. - manual: Unrelated to a subscription, for example, created via the invoice editor.
- subscription: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.
- subscription_: A new subscription was created.- create 
- subscription_: A subscription advanced into a new period.- cycle 
- subscription_: A subscription reached a billing threshold.- threshold 
- subscription_: A subscription was updated.- update 
- upcoming: Reserved for upcoming invoices created through the Create Preview Invoice API or when an- invoice.event is generated for an upcoming invoice on a subscription.- upcoming 
 Possible enum valuesautomatic_pending_ invoice_ item_ invoice manualquote_accept subscriptionsubscription_create subscription_cycle subscription_threshold subscription_update upcoming
- createdtimestampTime at which the object was created. Measured in seconds since the Unix epoch. 
- custom_fieldsnullable array of objects Custom fields displayed on the invoice. - custom_fields.namestring The name of the custom field. 
- custom_fields.valuestring The value of the custom field. 
 
- customer_addressnullable object The customer’s address. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.address - customer_address.citynullable string City, district, suburb, town, or village. 
- customer_address.countrynullable string Two-letter country code (ISO 3166-1 alpha-2). 
- customer_address.line1nullable string Address line 1 (e.g., street, PO Box, or company name). 
- customer_address.line2nullable string Address line 2 (e.g., apartment, suite, unit, or building). 
- customer_address.postal_ codenullable string ZIP or postal code. 
- customer_address.statenullable string State, county, province, or region. 
 
- customer_emailnullable string The customer’s email. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.email 
- customer_namenullable string The customer’s name. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.name 
- customer_phonenullable string The customer’s phone number. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.phone 
- customer_shippingnullable object The customer’s shipping information. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.shipping - customer_shipping.addressobject Customer shipping address. - customer_shipping.address. citynullable string City, district, suburb, town, or village. 
- customer_shipping.address. countrynullable string Two-letter country code (ISO 3166-1 alpha-2). 
- customer_shipping.address. line1nullable string Address line 1 (e.g., street, PO Box, or company name). 
- customer_shipping.address. line2nullable string Address line 2 (e.g., apartment, suite, unit, or building). 
- customer_shipping.address. postal_ codenullable string ZIP or postal code. 
- customer_shipping.address. statenullable string State, county, province, or region. 
 
- customer_shipping.namestring Customer name. 
- customer_shipping.phonenullable string Customer phone (including extension). 
 
- customer_tax_ exemptnullable enum The customer’s tax exempt status. Until the invoice is finalized, this field will equal customer.. Once the invoice is finalized, this field will no longer be updated.tax_ exempt Possible enum valuesexemptnonereverse
- customer_tax_ idsnullable array of objects The customer’s tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as customer.. Once the invoice is finalized, this field will no longer be updated.tax_ ids - customer_tax_ids.typeenum The type of the tax ID, one of ad_,nrt ar_,cuit eu_,vat bo_,tin br_,cnpj br_,cpf cn_,tin co_,nit cr_,tin do_,rcn ec_,ruc eu_,oss_ vat hr_,oib pe_,ruc ro_,tin rs_,pib sv_,nit uy_,ruc ve_,rif vn_,tin gb_,vat nz_,gst au_,abn au_,arn in_,gst no_,vat no_,voec za_,vat ch_,vat mx_,rfc sg_,uen ru_,inn ru_,kpp ca_,bn hk_,br es_,cif tw_,vat th_,vat jp_,cn jp_,rn jp_,trn li_,uid li_,vat my_,itn us_,ein kr_,brn ca_,qst ca_,gst_ hst ca_,pst_ bc ca_,pst_ mb ca_,pst_ sk my_,sst sg_,gst ae_,trn cl_,tin sa_,vat id_,npwp my_,frp il_,vat ge_,vat ua_,vat is_,vat bg_,uic hu_,tin si_,tin ke_,pin tr_,tin eg_,tin ph_,tin al_,tin bh_,vat kz_,bin ng_,tin om_,vat de_,stn ch_,uid tz_,vat uz_,vat uz_,tin md_,vat ma_,vat by_,tin ao_,tin bs_,tin bb_,tin cd_,nif mr_,nif me_,pib zw_,tin ba_,tin gn_,nif mk_,vat sr_,fin sn_,ninea am_,tin np_,pan tj_,tin ug_,tin zm_,tin kh_,tin aw_,tin az_,tin bd_,bin bj_,ifu et_,tin kg_,tin la_,tin cm_,niu cv_,nif bf_, orifu unknownPossible enum valuesad_nrt ae_trn al_tin am_tin ao_tin ar_cuit au_abn au_arn aw_tin az_tin Show 101 more 
- customer_tax_ids.valuenullable string The value of the tax ID. 
 
- default_payment_ methodnullable stringExpandable ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription’s default payment method, if any, or to the default payment method in the customer’s invoice settings. 
- default_sourcenullable stringExpandable ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription’s default source, if any, or to the customer’s default source. 
- default_tax_ ratesarray of objects The tax rates applied to this invoice, if any. - default_tax_rates.idstring Unique identifier for the object. 
- default_tax_rates.objectstring String representing the object’s type. Objects of the same type share the same value. 
- default_tax_rates.activeboolean Defaults to true. When set tofalse, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.
- default_tax_rates.countrynullable string Two-letter country code (ISO 3166-1 alpha-2). 
- default_tax_rates.createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch. 
- default_tax_rates.descriptionnullable string An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. 
- default_tax_rates.display_ namestring The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page. 
- default_tax_rates.effective_ percentagenullable float Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product’s taxability and whether the user is registered to collect taxes in the corresponding jurisdiction. 
- default_tax_rates.flat_ amountnullable object The amount of the tax rate when the rate_istype flat_. Tax rates withamount rate_type percentagecan vary based on the transaction, resulting in this field beingnull. This field exposes the amount and currency of the flat tax rate.- default_tax_rates.flat_amount. amountinteger Amount of the tax when the rate_istype flat_. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).amount 
- default_tax_rates.flat_amount. currencystring Three-letter ISO currency code, in lowercase. 
 
- default_tax_rates.inclusiveboolean This specifies if the tax rate is inclusive or exclusive. 
- default_tax_rates.jurisdictionnullable string The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. 
- default_tax_rates.jurisdiction_ levelnullable enum The level of the jurisdiction that imposes this tax rate. Will be nullfor manually defined tax rates.Possible enum valuescitycountrycountydistrictmultiplestate
- default_tax_rates.livemodeboolean Has the value trueif the object exists in live mode or the valuefalseif the object exists in test mode.
- default_tax_rates.metadatanullable object Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 
- default_tax_rates.percentagefloat Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions. 
- default_tax_rates.rate_ typenullable enum Indicates the type of tax rate applied to the taxable amount. This value can be nullwhen no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.Possible enum valuesflat_amount A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee. percentageA tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California. 
- default_tax_rates.statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States. 
- default_tax_rates.tax_ typenullable enum The high-level tax type, such as vatorsales_.tax Possible enum valuesamusement_tax Amusement Tax communications_tax Communications Tax gstGoods and Services Tax hstHarmonized Sales Tax igstIntegrated Goods and Services Tax jctJapanese Consumption Tax lease_tax Chicago Lease Tax pstProvincial Sales Tax qstQuebec Sales Tax retail_delivery_ fee Retail Delivery Fee Show 4 more 
 
- discountsarray of stringsExpandableThe discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use expand[]=discountsto expand each discount.
- due_datenullable timestamp The date on which payment for this invoice is due. This value will be nullfor invoices wherecollection_.method=charge_ automatically 
- effective_atnullable timestamp The date when this invoice is in effect. Same as finalized_unless overwritten. When defined, this value replaces the system-generated ‘Date of issue’ printed on the invoice PDF and receipt.at 
- ending_balancenullable integer Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null. 
- nullable stringFooter displayed on the invoice. 
- from_invoicenullable object Details of the invoice that was cloned. See the revision documentation for more details. - from_invoice.actionstring The relation between this invoice and the cloned invoice 
- from_invoice.invoicestringExpandable The invoice that was cloned. 
 
- invoice_pdfnullable string The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null. 
- issuerobjectConnect onlyThe connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. - issuer.accountnullable stringExpandable The connected account being referenced when typeisaccount.
- issuer.typeenum Type of the account referenced. Possible enum valuesaccountIndicates that the account being referenced is a connected account which is different from the account making the API request but related to it. selfIndicates that the account being referenced is the account making the API request. 
 
- last_finalization_ errornullable object The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized. - last_finalization_error.advice_ codenullable string For card errors resulting from a card issuer decline, a short string indicating how to proceed with an error if they provide one. 
- last_finalization_error.codenullable string For some errors that could be handled programmatically, a short string indicating the error code reported. 
- last_finalization_error.doc_ urlnullable string A URL to more information about the error code reported. 
- last_finalization_error.messagenullable string A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. 
- last_finalization_error.network_ advice_ codenullable string For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error. 
- last_finalization_error.network_ decline_ codenullable string For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed. 
- last_finalization_error.paramnullable string If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. 
- last_finalization_error.payment_ method_ typenullable string If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. 
- last_finalization_error.typeenum The type of error returned. One of api_,error card_,error idempotency_, orerror invalid_request_ error Possible enum valuesapi_error card_error idempotency_error invalid_request_ error 
 
- latest_revisionnullable stringExpandable The ID of the most recent non-draft revision of this invoice 
- livemodebooleanHas the value trueif the object exists in live mode or the valuefalseif the object exists in test mode.
- next_payment_ attemptnullable timestamp The time at which payment will next be attempted. This value will be nullfor invoices wherecollection_.method=send_ invoice 
- numbernullable stringA unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer’s unique invoice_prefix if it is specified. 
- on_behalf_ ofnullable stringExpandableConnect only The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the Invoices with Connect documentation for details. 
- payment_settingsobject Configuration settings for the PaymentIntent that is generated when the invoice is finalized. - payment_settings.default_ mandatenullable string ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the invoice’s default_payment_method or default_source, if set. 
- payment_settings.payment_ method_ optionsnullable object Payment-method-specific configuration to provide to the invoice’s PaymentIntent. - payment_settings.payment_method_options. acss_ debitnullable object If paying by acss_, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.debit - payment_settings.payment_method_options. acss_debit. mandate_ optionsnullable object Additional fields for Mandate creation - payment_settings.payment_method_options. acss_debit. mandate_options. transaction_ typenullable enum Transaction type of the mandate. Possible enum valuesbusinessTransactions are made for business reasons personalTransactions are made for personal reasons 
 
- payment_settings.payment_method_options. acss_debit. verification_ methodnullable enum Bank account verification method. Possible enum valuesautomaticInstant verification with fallback to microdeposits. instantInstant verification. microdepositsVerification using microdeposits. 
 
- payment_settings.payment_method_options. bancontactnullable object If paying by bancontact, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.- payment_settings.payment_method_options. bancontact. preferred_ languageenum Preferred language of the Bancontact authorization page that the customer is redirected to. Possible enum valuesdeGerman enEnglish frFrench nlDutch 
 
- payment_settings.payment_method_options. cardnullable object If paying by card, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.- payment_settings.payment_method_options. card. installmentsnullable object Installment details for this Invoice. For more information, see the installments integration guide. - payment_settings.payment_method_options. card. installments. enablednullable boolean Whether Installments are enabled for this Invoice. 
 
- payment_settings.payment_method_options. card. request_ three_ d_ securenullable enumadvanced We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine. Possible enum valuesanyUse anyto manually request 3DS with a preference for africtionlessflow, increasing the likelihood of the authentication being completed without any additional input from the customer. 3DS will always be attempted if it is supported for the card, but Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.automatic(Default) Our SCA Engine automatically prompts your customers for authentication based on risk level and other requirements. challengeUse challengeto request 3DS with a preference for achallengeflow, where the customer must respond to a prompt for active authentication. Stripe can’t guarantee your preference because the issuer determines the ultimate authentication flow. To learn more about 3DS flows, read our guide.
 
- payment_settings.payment_method_options. customer_ balancenullable object If paying by customer_, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.balance - payment_settings.payment_method_options. customer_balance. bank_ transfernullable object Configuration for the bank transfer funding type, if the funding_is set totype bank_.transfer - payment_settings.payment_method_options. customer_balance. bank_transfer. eu_ bank_ transfernullable object Configuration for eu_bank_transfer funding type. - payment_settings.payment_method_options. customer_balance. bank_transfer. eu_bank_transfer. countryenum The desired country code of the bank account information. Permitted values include: BE,DE,ES,FR,IE, orNL.Possible enum valuesBEDEESFRIENL
 
- payment_settings.payment_method_options. customer_balance. bank_transfer. typenullable enum The bank transfer type that can be used for funding. Permitted values include: eu_,bank_ transfer gb_,bank_ transfer jp_,bank_ transfer mx_, orbank_ transfer us_.bank_ transfer 
 
- payment_settings.payment_method_options. customer_balance. funding_ typenullable enum The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: bank_.transfer Possible enum valuesbank_transfer 
 
- payment_settings.payment_method_options. konbininullable object If paying by konbini, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
- payment_settings.payment_method_options. sepa_ debitnullable object If paying by sepa_, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.debit 
- payment_settings.payment_method_options. us_ bank_ accountnullable object If paying by us_, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.bank_ account - payment_settings.payment_method_options. us_bank_account. financial_ connectionsnullable object Additional fields for Financial Connections Session creation - payment_settings.payment_method_options. us_bank_account. financial_connections. filtersnullable object Filter the list of accounts that are allowed to be linked. - payment_settings.payment_method_options. us_bank_account. financial_connections. filters. account_ subcategoriesnullable array of enums The account subcategories to use to filter for possible accounts to link. Valid subcategories are checkingandsavings.Possible enum valuescheckingBank account subcategory is checking savingsBank account subcategory is savings 
 
- payment_settings.payment_method_options. us_bank_account. financial_connections. permissionsnullable array of enums The list of permissions to request. The payment_permission must be included.method Possible enum valuesbalancesAllows accessing balance data from the account. ownershipAllows accessing ownership data from the account. payment_method Allows the creation of a payment method from the account. transactionsAllows accessing transactions data from the account. 
- payment_settings.payment_method_options. us_bank_account. financial_connections. prefetchnullable array of enums Data features requested to be retrieved upon account creation. Possible enum valuesbalancesRequests to prefetch balance data on accounts collected in this session. ownershipRequests to prefetch ownership data on accounts collected in this session. transactionsRequests to prefetch transaction data on accounts collected in this session. 
 
- payment_settings.payment_method_options. us_bank_account. verification_ methodnullable enum Bank account verification method. Possible enum valuesautomaticInstant verification with fallback to microdeposits. instantInstant verification only. microdepositsVerification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element. 
 
 
- payment_settings.payment_ method_ typesnullable array of enums The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings. Possible enum valuesach_debit ACH acss_debit Canadian pre-authorized debit affirmAffirm If set, the Subscription collection_must bemethod send_.invoice amazon_pay Amazon Pay au_becs_ debit BECS Direct Debit bacs_debit Bacs Direct Debit bancontactBancontact If set, the Subscription collection_must bemethod send_.invoice boletoBoleto cardCard cashappCash App Pay Show 26 more 
 
- paymentsobjectExpandablePayments for this invoice - payments.objectstring String representing the object’s type. Objects of the same type share the same value. Always has the value list.
- payments.dataarray of objects Details about each object. - payments.data. idstring Unique identifier for the object. 
- payments.data. objectstring String representing the object’s type. Objects of the same type share the same value. 
- payments.data. amount_ paidnullable integer Amount that was actually paid for this invoice, in cents. This field is null until the payment is paid. This amount can be less than theamount_if the PaymentIntent’srequested amount_is not sufficient to pay all of the invoices that it is attached to.received 
- payments.data. amount_ requestedinteger Amount intended to be paid toward this invoice, in cents 
- payments.data. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch. 
- payments.data. currencystring Three-letter ISO currency code, in lowercase. Must be a supported currency. 
- payments.data. invoicestringExpandable The invoice that was paid. 
- payments.data. is_ defaultboolean Stripe automatically creates a default InvoicePayment when the invoice is finalized, and keeps it synchronized with the invoice’s amount_. The PaymentIntent associated with the default payment can’t be edited or canceled directly.remaining 
- payments.data. livemodeboolean Has the value trueif the object exists in live mode or the valuefalseif the object exists in test mode.
- payments.data. paymentobject The details on the payment. - payments.data. payment. chargenullable stringExpandable ID of the successful charge for this payment when typeischarge.Note: charge is only surfaced if the charge object is not associated with a payment intent. If the charge object does have a payment intent, the Invoice Payment surfaces the payment intent instead.
- payments.data. payment. payment_ intentnullable stringExpandable ID of the PaymentIntent associated with this payment when typeispayment_. Note: This property is only populated for invoices finalized on or after March 15th, 2019.intent 
- payments.data. payment. typeenum Type of payment object associated with this invoice payment. Possible enum valueschargepayment_intent 
 
- payments.data. statusstring The status of the payment, one of open,paid, orcanceled.
- payments.data. status_ transitionsobject The timestamps when the payment’s status was updated. - payments.data. status_transitions. canceled_ atnullable timestamp The time that the payment was canceled. 
- payments.data. status_transitions. paid_ atnullable timestamp The time that the payment succeeded. 
 
 
- payments.has_ moreboolean True if this list has another page of items after this one that can be fetched. 
- payments.urlstring The URL where this list can be accessed. 
 
- post_payment_ credit_ notes_ amountinteger Total amount of all post-payment credit notes issued for this invoice. 
- pre_payment_ credit_ notes_ amountinteger Total amount of all pre-payment credit notes issued for this invoice. 
- receipt_numbernullable string This is the transaction number that appears on email receipts sent for this invoice. 
- renderingnullable objectThe rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page. - rendering.amount_ tax_ displaynullable string How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. 
- rendering.pdfnullable object Invoice pdf rendering options - rendering.pdf. page_ sizenullable enum Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale. Possible enum valuesa4autoletter
 
- rendering.templatenullable string ID of the rendering template that the invoice is formatted by. 
- rendering.template_ versionnullable integer Version of the rendering template that the invoice is using. 
 
- shipping_costnullable object The details of the cost of shipping, including the ShippingRate applied on the invoice. - shipping_cost.amount_ subtotalinteger Total shipping cost before any taxes are applied. 
- shipping_cost.amount_ taxinteger Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. 
- shipping_cost.amount_ totalinteger Total shipping cost after taxes are applied. 
- shipping_cost.shipping_ ratenullable stringExpandable The ID of the ShippingRate for this invoice. 
- shipping_cost.taxesnullable array of objectsExpandable The taxes applied to the shipping rate. - shipping_cost.taxes. amountinteger Amount of tax applied for this rate. 
- shipping_cost.taxes. rateobject The tax rate applied. - shipping_cost.taxes. rate. idstring Unique identifier for the object. 
- shipping_cost.taxes. rate. objectstring String representing the object’s type. Objects of the same type share the same value. 
- shipping_cost.taxes. rate. activeboolean Defaults to true. When set tofalse, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.
- shipping_cost.taxes. rate. countrynullable string Two-letter country code (ISO 3166-1 alpha-2). 
- shipping_cost.taxes. rate. createdtimestamp Time at which the object was created. Measured in seconds since the Unix epoch. 
- shipping_cost.taxes. rate. descriptionnullable string An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. 
- shipping_cost.taxes. rate. display_ namestring The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page. 
- shipping_cost.taxes. rate. effective_ percentagenullable float Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product’s taxability and whether the user is registered to collect taxes in the corresponding jurisdiction. 
- shipping_cost.taxes. rate. flat_ amountnullable object The amount of the tax rate when the rate_istype flat_. Tax rates withamount rate_type percentagecan vary based on the transaction, resulting in this field beingnull. This field exposes the amount and currency of the flat tax rate.- shipping_cost.taxes. rate. flat_amount. amountinteger Amount of the tax when the rate_istype flat_. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).amount 
- shipping_cost.taxes. rate. flat_amount. currencystring Three-letter ISO currency code, in lowercase. 
 
- shipping_cost.taxes. rate. inclusiveboolean This specifies if the tax rate is inclusive or exclusive. 
- shipping_cost.taxes. rate. jurisdictionnullable string The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice. 
- shipping_cost.taxes. rate. jurisdiction_ levelnullable enum The level of the jurisdiction that imposes this tax rate. Will be nullfor manually defined tax rates.Possible enum valuescitycountrycountydistrictmultiplestate
- shipping_cost.taxes. rate. livemodeboolean Has the value trueif the object exists in live mode or the valuefalseif the object exists in test mode.
- shipping_cost.taxes. rate. metadatanullable object Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 
- shipping_cost.taxes. rate. percentagefloat Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions. 
- shipping_cost.taxes. rate. rate_ typenullable enum Indicates the type of tax rate applied to the taxable amount. This value can be nullwhen no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.Possible enum valuesflat_amount A fixed amount applied as tax, regardless of the taxable amount, such as a retail delivery fee. percentageA tax rate expressed as a percentage of the taxable amount, such as the sales tax rate in California. 
- shipping_cost.taxes. rate. statenullable string ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States. 
- shipping_cost.taxes. rate. tax_ typenullable enum The high-level tax type, such as vatorsales_.tax Possible enum valuesamusement_tax Amusement Tax communications_tax Communications Tax gstGoods and Services Tax hstHarmonized Sales Tax igstIntegrated Goods and Services Tax jctJapanese Consumption Tax lease_tax Chicago Lease Tax pstProvincial Sales Tax qstQuebec Sales Tax retail_delivery_ fee Retail Delivery Fee Show 4 more 
 
- shipping_cost.taxes. taxability_ reasonnullable enum The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. Possible enum valuescustomer_exempt No tax is applied as the customer is exempt from tax. not_collecting No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code ( txcd_) was used.00000000 not_subject_ to_ tax No tax is imposed on this transaction. not_supported No tax applied. Stripe doesn’t support this jurisdiction, territory, or product. portion_product_ exempt A portion of the price is exempt from tax. portion_reduced_ rated A portion of the price is taxed at a reduced rate. portion_standard_ rated A portion of the price is taxed at the standard rate. product_exempt The product or service is nontaxable or exempt from tax. product_exempt_ holiday The product or service is not taxed due to a sales tax holiday. proportionally_rated The shipping cost tax rate is calculated as a weighted average of the other line items’ rates, weighted by their amounts. Show 5 more 
- shipping_cost.taxes. taxable_ amountnullable integer The amount on which tax is calculated, in cents. 
 
 
- shipping_detailsnullable object Shipping details for the invoice. The Invoice PDF will use the shipping_value if it is set, otherwise the PDF will render the shipping address from the customer.details - shipping_details.addressobject Shipping address. - shipping_details.address. citynullable string City, district, suburb, town, or village. 
- shipping_details.address. countrynullable string Two-letter country code (ISO 3166-1 alpha-2). 
- shipping_details.address. line1nullable string Address line 1 (e.g., street, PO Box, or company name). 
- shipping_details.address. line2nullable string Address line 2 (e.g., apartment, suite, unit, or building). 
- shipping_details.address. postal_ codenullable string ZIP or postal code. 
- shipping_details.address. statenullable string State, county, province, or region. 
 
- shipping_details.namestring Recipient name. 
- shipping_details.phonenullable string Recipient phone (including extension). 
 
- starting_balanceinteger Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. For revision invoices, this also includes any customer balance that was applied to the original invoice. 
- statement_descriptornullable string Extra information about an invoice for the customer’s credit card statement. 
- status_transitionsobject The timestamps at which the invoice status was updated. - status_transitions.finalized_ atnullable timestamp The time that the invoice draft was finalized. 
- status_transitions.marked_ uncollectible_ atnullable timestamp The time that the invoice was marked uncollectible. 
- status_transitions.paid_ atnullable timestamp The time that the invoice was paid. 
- status_transitions.voided_ atnullable timestamp The time that the invoice was voided. 
 
- subtotalintegerTotal of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated 
- subtotal_excluding_ taxnullable integer The integer amount in cents representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated 
- test_clocknullable stringExpandable ID of the test clock this invoice belongs to. 
- threshold_reasonnullable object If billing_is set toreason subscription_this returns more information on which threshold rules triggered the invoice.threshold - threshold_reason.amount_ gtenullable integer The total invoice amount threshold boundary if it triggered the threshold invoice. 
- threshold_reason.item_ reasonsarray of objects Indicates which line items triggered a threshold invoice. - threshold_reason.item_reasons. line_ item_ idsarray of strings The IDs of the line items that triggered the threshold invoice. 
- threshold_reason.item_reasons. usage_ gteinteger The quantity threshold boundary that applied to the given line item. 
 
 
- total_discount_ amountsnullable array of objects The aggregate amounts calculated per discount across all line items. - total_discount_amounts.amountinteger The amount, in cents, of the discount. 
- total_discount_amounts.discountstringExpandable The discount that was applied to get this discount amount. 
 
- total_excluding_ taxnullable integer The integer amount in cents representing the total amount of the invoice including all discounts but excluding all tax. 
- total_pretax_ credit_ amountsnullable array of objects Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of total_pretax_credit_amounts across all invoice line items. - total_pretax_credit_amounts.amountinteger The amount, in cents, of the pretax credit amount. 
- total_pretax_credit_amounts.credit_ balance_ transactionnullable stringExpandable The credit balance transaction that was applied to get this pretax credit amount. 
- total_pretax_credit_amounts.discountnullable stringExpandable The discount that was applied to get this pretax credit amount. 
- total_pretax_credit_amounts.typeenum Type of the pretax credit amount referenced. Possible enum valuescredit_balance_ transaction The pretax credit amount is from a credit balance transaction. discountThe pretax credit amount is from a discount. 
 
- total_taxesnullable array of objects The aggregate tax information of all line items. - total_taxes.amountinteger The amount of the tax, in cents. 
- total_taxes.tax_ behaviorenum Whether this tax is inclusive or exclusive. Possible enum valuesexclusiveinclusive
- total_taxes.tax_ rate_ detailsnullable object Additional details about the tax rate. Only present when typeistax_.rate_ details 
- total_taxes.taxability_ reasonenum The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported. Possible enum valuescustomer_exempt No tax is applied as the customer is exempt from tax. not_available The reasoning behind this tax is not available. not_collecting No tax is collected either because you are not registered to collect tax in this jurisdiction, or because the non-taxable product tax code ( txcd_) was used.00000000 not_subject_ to_ tax No tax is imposed on this transaction. not_supported No tax applied. Stripe doesn’t support this jurisdiction, territory, or product. portion_product_ exempt A portion of the price is exempt from tax. portion_reduced_ rated A portion of the price is taxed at a reduced rate. portion_standard_ rated A portion of the price is taxed at the standard rate. product_exempt The product or service is nontaxable or exempt from tax. product_exempt_ holiday The product or service is not taxed due to a sales tax holiday. Show 6 more 
- total_taxes.taxable_ amountnullable integer The amount on which tax is calculated, in cents. 
- total_taxes.typeenum The type of tax information. 
 
- webhooks_delivered_ atnullable timestamp Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have been exhausted. This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created. 
{  "id": "in_1MtHbELkdIwHu7ixl4OzzPMv",  "object": "invoice",  "account_country": "US",  "account_name": "Stripe Docs",  "account_tax_ids": null,  "amount_due": 0,  "amount_paid": 0,  "amount_overpaid": 0,  "amount_remaining": 0,  "amount_shipping": 0,  "application": null,  "attempt_count": 0,  "attempted": false,  "auto_advance": false,  "automatic_tax": {    "enabled": false,    "liability": null,    "status": null  },  "billing_reason": "manual",  "collection_method": "charge_automatically",  "created": 1680644467,  "currency": "usd",  "custom_fields": null,  "customer": "cus_NeZwdNtLEOXuvB",  "customer_address": null,  "customer_email": "jennyrosen@example.com",  "customer_name": "Jenny Rosen",  "customer_phone": null,  "customer_shipping": null,  "customer_tax_exempt": "none",  "customer_tax_ids": [],  "confirmation_secret": null,  "default_payment_method": null,  "default_source": null,  "default_tax_rates": [],  "description": null,  "discounts": [],  "due_date": null,  "ending_balance": null,  "footer": null,  "from_invoice": null,  "hosted_invoice_url": null,  "invoice_pdf": null,  "issuer": {    "type": "self"  },  "last_finalization_error": null,  "latest_revision": null,  "lines": {    "object": "list",    "data": [],    "has_more": false,    "total_count": 0,    "url": "/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv/lines"  },  "payments": {    "object": "list",    "data": [],    "has_more": false,    "total_count": 0,    "url": "/v1/invoice_payments"  },  "livemode": false,  "metadata": {},  "next_payment_attempt": null,  "number": null,  "on_behalf_of": null,  "paid": false,  "paid_out_of_band": false,  "parent": null,  "payment_intent": null,  "payment_settings": {    "default_mandate": null,    "payment_method_options": null,    "payment_method_types": null  },  "period_end": 1680644467,  "period_start": 1680644467,  "post_payment_credit_notes_amount": 0,  "pre_payment_credit_notes_amount": 0,  "receipt_number": null,  "shipping_cost": null,  "shipping_details": null,  "starting_balance": 0,  "statement_descriptor": null,  "status": "draft",  "status_transitions": {    "finalized_at": null,    "marked_uncollectible_at": null,    "paid_at": null,    "voided_at": null  },  "subtotal": 0,  "subtotal_excluding_tax": 0,  "test_clock": null,  "total": 0,  "total_discount_amounts": [],  "total_excluding_tax": 0,  "total_taxes": [],  "transfer_data": null,  "webhooks_delivered_at": 1680644467}