@lshay-provider/stripe 0.0.0-stage → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/applePayDomain.d.ts +72 -0
- package/bin/applePayDomain.d.ts.map +1 -0
- package/bin/applePayDomain.js +91 -0
- package/bin/applePayDomain.js.map +1 -0
- package/bin/appsInstall.d.ts +201 -0
- package/bin/appsInstall.d.ts.map +1 -0
- package/bin/appsInstall.js +121 -0
- package/bin/appsInstall.js.map +1 -0
- package/bin/billingAlert.d.ts +107 -0
- package/bin/billingAlert.d.ts.map +1 -0
- package/bin/billingAlert.js +98 -0
- package/bin/billingAlert.js.map +1 -0
- package/bin/billingCreditGrant.d.ts +203 -0
- package/bin/billingCreditGrant.d.ts.map +1 -0
- package/bin/billingCreditGrant.js +118 -0
- package/bin/billingCreditGrant.js.map +1 -0
- package/bin/billingFeedbackOption.d.ts +85 -0
- package/bin/billingFeedbackOption.d.ts.map +1 -0
- package/bin/billingFeedbackOption.js +93 -0
- package/bin/billingFeedbackOption.js.map +1 -0
- package/bin/billingMeter.d.ts +134 -0
- package/bin/billingMeter.d.ts.map +1 -0
- package/bin/billingMeter.js +110 -0
- package/bin/billingMeter.js.map +1 -0
- package/bin/billingPortalConfiguration.d.ts +150 -0
- package/bin/billingPortalConfiguration.d.ts.map +1 -0
- package/bin/billingPortalConfiguration.js +107 -0
- package/bin/billingPortalConfiguration.js.map +1 -0
- package/bin/charge.d.ts +496 -0
- package/bin/charge.d.ts.map +1 -0
- package/bin/charge.js +176 -0
- package/bin/charge.js.map +1 -0
- package/bin/climateOrder.d.ts +247 -0
- package/bin/climateOrder.d.ts.map +1 -0
- package/bin/climateOrder.js +129 -0
- package/bin/climateOrder.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +9 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +42 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/coupon.d.ts +228 -0
- package/bin/coupon.d.ts.map +1 -0
- package/bin/coupon.js +114 -0
- package/bin/coupon.js.map +1 -0
- package/bin/creditNote.d.ts +374 -0
- package/bin/creditNote.d.ts.map +1 -0
- package/bin/creditNote.js +151 -0
- package/bin/creditNote.js.map +1 -0
- package/bin/customer.d.ts +384 -0
- package/bin/customer.d.ts.map +1 -0
- package/bin/customer.js +144 -0
- package/bin/customer.js.map +1 -0
- package/bin/customerBalanceTransaction.d.ts +175 -0
- package/bin/customerBalanceTransaction.d.ts.map +1 -0
- package/bin/customerBalanceTransaction.js +115 -0
- package/bin/customerBalanceTransaction.js.map +1 -0
- package/bin/entitlementsFeature.d.ts +111 -0
- package/bin/entitlementsFeature.d.ts.map +1 -0
- package/bin/entitlementsFeature.js +95 -0
- package/bin/entitlementsFeature.js.map +1 -0
- package/bin/file.d.ts +153 -0
- package/bin/file.d.ts.map +1 -0
- package/bin/file.js +110 -0
- package/bin/file.js.map +1 -0
- package/bin/fileLink.d.ts +127 -0
- package/bin/fileLink.d.ts.map +1 -0
- package/bin/fileLink.js +99 -0
- package/bin/fileLink.js.map +1 -0
- package/bin/index.d.ts +191 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +370 -0
- package/bin/index.js.map +1 -0
- package/bin/invoice.d.ts +795 -0
- package/bin/invoice.d.ts.map +1 -0
- package/bin/invoice.js +242 -0
- package/bin/invoice.js.map +1 -0
- package/bin/invoiceItem.d.ts +354 -0
- package/bin/invoiceItem.d.ts.map +1 -0
- package/bin/invoiceItem.js +136 -0
- package/bin/invoiceItem.js.map +1 -0
- package/bin/issuingCard.d.ts +313 -0
- package/bin/issuingCard.d.ts.map +1 -0
- package/bin/issuingCard.js +138 -0
- package/bin/issuingCard.js.map +1 -0
- package/bin/issuingCardholder.d.ts +205 -0
- package/bin/issuingCardholder.d.ts.map +1 -0
- package/bin/issuingCardholder.js +113 -0
- package/bin/issuingCardholder.js.map +1 -0
- package/bin/issuingDispute.d.ts +152 -0
- package/bin/issuingDispute.d.ts.map +1 -0
- package/bin/issuingDispute.js +102 -0
- package/bin/issuingDispute.js.map +1 -0
- package/bin/issuingPersonalizationDesign.d.ts +177 -0
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
- package/bin/issuingPersonalizationDesign.js +111 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -0
- package/bin/package.json +34 -0
- package/bin/paymentIntent.d.ts +670 -0
- package/bin/paymentIntent.d.ts.map +1 -0
- package/bin/paymentIntent.js +194 -0
- package/bin/paymentIntent.js.map +1 -0
- package/bin/paymentLink.d.ts +415 -0
- package/bin/paymentLink.d.ts.map +1 -0
- package/bin/paymentLink.js +155 -0
- package/bin/paymentLink.js.map +1 -0
- package/bin/paymentMethod.d.ts +232 -0
- package/bin/paymentMethod.d.ts.map +1 -0
- package/bin/paymentMethod.js +154 -0
- package/bin/paymentMethod.js.map +1 -0
- package/bin/paymentMethodConfiguration.d.ts +310 -0
- package/bin/paymentMethodConfiguration.d.ts.map +1 -0
- package/bin/paymentMethodConfiguration.js +218 -0
- package/bin/paymentMethodConfiguration.js.map +1 -0
- package/bin/paymentMethodDomain.d.ts +143 -0
- package/bin/paymentMethodDomain.d.ts.map +1 -0
- package/bin/paymentMethodDomain.js +105 -0
- package/bin/paymentMethodDomain.js.map +1 -0
- package/bin/person.d.ts +436 -0
- package/bin/person.d.ts.map +1 -0
- package/bin/person.js +157 -0
- package/bin/person.js.map +1 -0
- package/bin/plan.d.ts +281 -0
- package/bin/plan.d.ts.map +1 -0
- package/bin/plan.js +126 -0
- package/bin/plan.js.map +1 -0
- package/bin/price.d.ts +304 -0
- package/bin/price.d.ts.map +1 -0
- package/bin/price.js +129 -0
- package/bin/price.js.map +1 -0
- package/bin/product.d.ts +285 -0
- package/bin/product.d.ts.map +1 -0
- package/bin/product.js +122 -0
- package/bin/product.js.map +1 -0
- package/bin/productCatalogTrialOffer.d.ts +105 -0
- package/bin/productCatalogTrialOffer.d.ts.map +1 -0
- package/bin/productCatalogTrialOffer.js +103 -0
- package/bin/productCatalogTrialOffer.js.map +1 -0
- package/bin/productFeature.d.ts +88 -0
- package/bin/productFeature.d.ts.map +1 -0
- package/bin/productFeature.js +94 -0
- package/bin/productFeature.js.map +1 -0
- package/bin/promotionCode.d.ts +175 -0
- package/bin/promotionCode.d.ts.map +1 -0
- package/bin/promotionCode.js +106 -0
- package/bin/promotionCode.js.map +1 -0
- package/bin/provider.d.ts +60 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +80 -0
- package/bin/provider.js.map +1 -0
- package/bin/quote.d.ts +350 -0
- package/bin/quote.d.ts.map +1 -0
- package/bin/quote.js +144 -0
- package/bin/quote.js.map +1 -0
- package/bin/radarValueList.d.ts +131 -0
- package/bin/radarValueList.d.ts.map +1 -0
- package/bin/radarValueList.js +99 -0
- package/bin/radarValueList.js.map +1 -0
- package/bin/radarValueListItem.d.ts +101 -0
- package/bin/radarValueListItem.d.ts.map +1 -0
- package/bin/radarValueListItem.js +98 -0
- package/bin/radarValueListItem.js.map +1 -0
- package/bin/setupIntent.d.ts +492 -0
- package/bin/setupIntent.d.ts.map +1 -0
- package/bin/setupIntent.js +154 -0
- package/bin/setupIntent.js.map +1 -0
- package/bin/shippingRate.d.ts +164 -0
- package/bin/shippingRate.d.ts.map +1 -0
- package/bin/shippingRate.js +105 -0
- package/bin/shippingRate.js.map +1 -0
- package/bin/source.d.ts +303 -0
- package/bin/source.d.ts.map +1 -0
- package/bin/source.js +164 -0
- package/bin/source.js.map +1 -0
- package/bin/subscription.d.ts +650 -0
- package/bin/subscription.d.ts.map +1 -0
- package/bin/subscription.js +190 -0
- package/bin/subscription.js.map +1 -0
- package/bin/subscriptionItem.d.ts +297 -0
- package/bin/subscriptionItem.d.ts.map +1 -0
- package/bin/subscriptionItem.js +121 -0
- package/bin/subscriptionItem.js.map +1 -0
- package/bin/subscriptionSchedule.d.ts +263 -0
- package/bin/subscriptionSchedule.d.ts.map +1 -0
- package/bin/subscriptionSchedule.js +126 -0
- package/bin/subscriptionSchedule.js.map +1 -0
- package/bin/taxId.d.ts +139 -0
- package/bin/taxId.d.ts.map +1 -0
- package/bin/taxId.js +109 -0
- package/bin/taxId.js.map +1 -0
- package/bin/taxLocation.d.ts +90 -0
- package/bin/taxLocation.d.ts.map +1 -0
- package/bin/taxLocation.js +96 -0
- package/bin/taxLocation.js.map +1 -0
- package/bin/taxRate.d.ts +233 -0
- package/bin/taxRate.d.ts.map +1 -0
- package/bin/taxRate.js +123 -0
- package/bin/taxRate.js.map +1 -0
- package/bin/taxRegistration.d.ts +118 -0
- package/bin/taxRegistration.d.ts.map +1 -0
- package/bin/taxRegistration.js +105 -0
- package/bin/taxRegistration.js.map +1 -0
- package/bin/terminalConfiguration.d.ts +131 -0
- package/bin/terminalConfiguration.d.ts.map +1 -0
- package/bin/terminalConfiguration.js +120 -0
- package/bin/terminalConfiguration.js.map +1 -0
- package/bin/terminalLocation.d.ts +147 -0
- package/bin/terminalLocation.d.ts.map +1 -0
- package/bin/terminalLocation.js +100 -0
- package/bin/terminalLocation.js.map +1 -0
- package/bin/terminalReader.d.ts +168 -0
- package/bin/terminalReader.d.ts.map +1 -0
- package/bin/terminalReader.js +109 -0
- package/bin/terminalReader.js.map +1 -0
- package/bin/threeDSecureAuthentication.d.ts +297 -0
- package/bin/threeDSecureAuthentication.d.ts.map +1 -0
- package/bin/threeDSecureAuthentication.js +132 -0
- package/bin/threeDSecureAuthentication.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +203 -0
- package/bin/treasuryFinancialAccount.d.ts.map +1 -0
- package/bin/treasuryFinancialAccount.js +119 -0
- package/bin/treasuryFinancialAccount.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +18743 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +18742 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +6 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +125 -0
- package/bin/utilities.js.map +1 -0
- package/bin/v2coreEventDestination.d.ts +260 -0
- package/bin/v2coreEventDestination.d.ts.map +1 -0
- package/bin/v2coreEventDestination.js +127 -0
- package/bin/v2coreEventDestination.js.map +1 -0
- package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
- package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultGbBankAccount.js +111 -0
- package/bin/v2coreVaultGbBankAccount.js.map +1 -0
- package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
- package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultUsBankAccount.js +118 -0
- package/bin/v2coreVaultUsBankAccount.js.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.js +102 -0
- package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.js +105 -0
- package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.js +125 -0
- package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.js +127 -0
- package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.js +107 -0
- package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +171 -0
- package/bin/webhookEndpoint.d.ts.map +1 -0
- package/bin/webhookEndpoint.js +112 -0
- package/bin/webhookEndpoint.js.map +1 -0
- package/package.json +31 -3
package/bin/invoice.d.ts
ADDED
|
@@ -0,0 +1,795 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class Invoice extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing Invoice resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InvoiceState, opts?: pulumi.CustomResourceOptions): Invoice;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing Invoice resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: InvoiceState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Invoice. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is Invoice;
|
|
28
|
+
/**
|
|
29
|
+
* The country of the business associated with this invoice, most often the business creating the invoice.
|
|
30
|
+
*/
|
|
31
|
+
readonly accountCountry: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The public name of the business associated with this invoice, most often the business creating the invoice.
|
|
34
|
+
*/
|
|
35
|
+
readonly accountName: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
|
|
38
|
+
*/
|
|
39
|
+
readonly accountTaxIds: pulumi.Output<string[]>;
|
|
40
|
+
/**
|
|
41
|
+
* 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 <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> may be 0. If there is a positive <span pulumi-lang-nodejs="`startingBalance`" pulumi-lang-dotnet="`StartingBalance`" pulumi-lang-go="`startingBalance`" pulumi-lang-python="`starting_balance`" pulumi-lang-yaml="`startingBalance`" pulumi-lang-java="`startingBalance`" pulumi-lang-hcl="`starting_balance`">`startingBalance`</span> for the invoice (the customer owes money), the <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> will also take that into account. The charge that gets generated for the invoice will be for the amount specified in <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span>.
|
|
42
|
+
*/
|
|
43
|
+
readonly amountDue: pulumi.Output<number>;
|
|
44
|
+
/**
|
|
45
|
+
* Amount that was overpaid on the invoice. The amount overpaid is credited to the customer's credit balance.
|
|
46
|
+
*/
|
|
47
|
+
readonly amountOverpaid: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The amount, in cents (or local equivalent), that was paid.
|
|
50
|
+
*/
|
|
51
|
+
readonly amountPaid: pulumi.Output<number>;
|
|
52
|
+
/**
|
|
53
|
+
* Amount, in cents (or local equivalent), that was paid on the invoice outside of Stripe.
|
|
54
|
+
*/
|
|
55
|
+
readonly amountPaidOffStripe: pulumi.Output<number>;
|
|
56
|
+
/**
|
|
57
|
+
* The difference between<span pulumi-lang-nodejs=" amountDue " pulumi-lang-dotnet=" AmountDue " pulumi-lang-go=" amountDue " pulumi-lang-python=" amount_due " pulumi-lang-yaml=" amountDue " pulumi-lang-java=" amountDue " pulumi-lang-hcl=" amount_due "> amountDue </span>and amount_paid, in cents (or local equivalent).
|
|
58
|
+
*/
|
|
59
|
+
readonly amountRemaining: pulumi.Output<number>;
|
|
60
|
+
/**
|
|
61
|
+
* This is the sum of all the shipping amounts.
|
|
62
|
+
*/
|
|
63
|
+
readonly amountShipping: pulumi.Output<number>;
|
|
64
|
+
/**
|
|
65
|
+
* ID of the Connect Application that created the invoice.
|
|
66
|
+
*/
|
|
67
|
+
readonly application: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
70
|
+
* A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
|
|
71
|
+
*/
|
|
72
|
+
readonly applicationFeeAmount: pulumi.Output<number | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* 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<span pulumi-lang-nodejs=" attemptCount " pulumi-lang-dotnet=" AttemptCount " pulumi-lang-go=" attemptCount " pulumi-lang-python=" attempt_count " pulumi-lang-yaml=" attemptCount " pulumi-lang-java=" attemptCount " pulumi-lang-hcl=" attempt_count "> attemptCount </span>will continue to increment, but retries will only be executed if a new payment method is obtained.
|
|
75
|
+
*/
|
|
76
|
+
readonly attemptCount: pulumi.Output<number>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the `invoice.created` webhook, for example, so you might not want to display that invoice as unpaid to your users.
|
|
79
|
+
*/
|
|
80
|
+
readonly attempted: pulumi.Output<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the invoice's state doesn't automatically advance without an explicit action.
|
|
83
|
+
*/
|
|
84
|
+
readonly autoAdvance: pulumi.Output<boolean>;
|
|
85
|
+
readonly automaticTax: pulumi.Output<outputs.InvoiceAutomaticTax>;
|
|
86
|
+
/**
|
|
87
|
+
* The time when this invoice is currently scheduled to be automatically finalized. The field will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> - see <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> for the time when an already-finalized invoice was finalized.
|
|
88
|
+
*/
|
|
89
|
+
readonly automaticallyFinalizesAt: pulumi.Output<number>;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates the reason why the invoice was created.
|
|
92
|
+
*
|
|
93
|
+
* * <span pulumi-lang-nodejs="`manual`" pulumi-lang-dotnet="`Manual`" pulumi-lang-go="`manual`" pulumi-lang-python="`manual`" pulumi-lang-yaml="`manual`" pulumi-lang-java="`manual`" pulumi-lang-hcl="`manual`">`manual`</span>: Unrelated to a subscription, for example, created via the invoice editor.
|
|
94
|
+
* * <span pulumi-lang-nodejs="`subscription`" pulumi-lang-dotnet="`Subscription`" pulumi-lang-go="`subscription`" pulumi-lang-python="`subscription`" pulumi-lang-yaml="`subscription`" pulumi-lang-java="`subscription`" pulumi-lang-hcl="`subscription`">`subscription`</span>: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.
|
|
95
|
+
* * <span pulumi-lang-nodejs="`subscriptionCreate`" pulumi-lang-dotnet="`SubscriptionCreate`" pulumi-lang-go="`subscriptionCreate`" pulumi-lang-python="`subscription_create`" pulumi-lang-yaml="`subscriptionCreate`" pulumi-lang-java="`subscriptionCreate`" pulumi-lang-hcl="`subscription_create`">`subscriptionCreate`</span>: A new subscription was created.
|
|
96
|
+
* * <span pulumi-lang-nodejs="`subscriptionCycle`" pulumi-lang-dotnet="`SubscriptionCycle`" pulumi-lang-go="`subscriptionCycle`" pulumi-lang-python="`subscription_cycle`" pulumi-lang-yaml="`subscriptionCycle`" pulumi-lang-java="`subscriptionCycle`" pulumi-lang-hcl="`subscription_cycle`">`subscriptionCycle`</span>: A subscription advanced into a new period.
|
|
97
|
+
* * <span pulumi-lang-nodejs="`subscriptionThreshold`" pulumi-lang-dotnet="`SubscriptionThreshold`" pulumi-lang-go="`subscriptionThreshold`" pulumi-lang-python="`subscription_threshold`" pulumi-lang-yaml="`subscriptionThreshold`" pulumi-lang-java="`subscriptionThreshold`" pulumi-lang-hcl="`subscription_threshold`">`subscriptionThreshold`</span>: A subscription reached a billing threshold.
|
|
98
|
+
* * <span pulumi-lang-nodejs="`subscriptionUpdate`" pulumi-lang-dotnet="`SubscriptionUpdate`" pulumi-lang-go="`subscriptionUpdate`" pulumi-lang-python="`subscription_update`" pulumi-lang-yaml="`subscriptionUpdate`" pulumi-lang-java="`subscriptionUpdate`" pulumi-lang-hcl="`subscription_update`">`subscriptionUpdate`</span>: A subscription was updated.
|
|
99
|
+
* * <span pulumi-lang-nodejs="`upcoming`" pulumi-lang-dotnet="`Upcoming`" pulumi-lang-go="`upcoming`" pulumi-lang-python="`upcoming`" pulumi-lang-yaml="`upcoming`" pulumi-lang-java="`upcoming`" pulumi-lang-hcl="`upcoming`">`upcoming`</span>: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.
|
|
100
|
+
*/
|
|
101
|
+
readonly billingReason: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Either <span pulumi-lang-nodejs="`chargeAutomatically`" pulumi-lang-dotnet="`ChargeAutomatically`" pulumi-lang-go="`chargeAutomatically`" pulumi-lang-python="`charge_automatically`" pulumi-lang-yaml="`chargeAutomatically`" pulumi-lang-java="`chargeAutomatically`" pulumi-lang-hcl="`charge_automatically`">`chargeAutomatically`</span>, or <span pulumi-lang-nodejs="`sendInvoice`" pulumi-lang-dotnet="`SendInvoice`" pulumi-lang-go="`sendInvoice`" pulumi-lang-python="`send_invoice`" pulumi-lang-yaml="`sendInvoice`" pulumi-lang-java="`sendInvoice`" pulumi-lang-hcl="`send_invoice`">`sendInvoice`</span>. 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.
|
|
104
|
+
*/
|
|
105
|
+
readonly collectionMethod: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The confirmation secret associated with this invoice. Currently, this contains the<span pulumi-lang-nodejs=" clientSecret " pulumi-lang-dotnet=" ClientSecret " pulumi-lang-go=" clientSecret " pulumi-lang-python=" client_secret " pulumi-lang-yaml=" clientSecret " pulumi-lang-java=" clientSecret " pulumi-lang-hcl=" client_secret "> clientSecret </span>of the PaymentIntent that Stripe creates during invoice finalization.
|
|
108
|
+
*/
|
|
109
|
+
readonly confirmationSecret: pulumi.Output<outputs.InvoiceConfirmationSecret>;
|
|
110
|
+
/**
|
|
111
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
112
|
+
*/
|
|
113
|
+
readonly created: pulumi.Output<number>;
|
|
114
|
+
/**
|
|
115
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
116
|
+
*/
|
|
117
|
+
readonly currency: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Custom fields displayed on the invoice.
|
|
120
|
+
*/
|
|
121
|
+
readonly customFields: pulumi.Output<outputs.InvoiceCustomField[]>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the customer to bill.
|
|
124
|
+
*/
|
|
125
|
+
readonly customer: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the account representing the customer to bill.
|
|
128
|
+
*/
|
|
129
|
+
readonly customerAccount: pulumi.Output<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated.
|
|
132
|
+
*/
|
|
133
|
+
readonly customerAddress: pulumi.Output<outputs.InvoiceCustomerAddress>;
|
|
134
|
+
/**
|
|
135
|
+
* The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated.
|
|
136
|
+
*/
|
|
137
|
+
readonly customerEmail: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The customer's name. Until the invoice is finalized, this field will equal `customer.name`. Once the invoice is finalized, this field will no longer be updated.
|
|
140
|
+
*/
|
|
141
|
+
readonly customerName: pulumi.Output<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The customer's phone number. Until the invoice is finalized, this field will equal `customer.phone`. Once the invoice is finalized, this field will no longer be updated.
|
|
144
|
+
*/
|
|
145
|
+
readonly customerPhone: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The customer's shipping information. Until the invoice is finalized, this field will equal `customer.shipping`. Once the invoice is finalized, this field will no longer be updated.
|
|
148
|
+
*/
|
|
149
|
+
readonly customerShipping: pulumi.Output<outputs.InvoiceCustomerShipping>;
|
|
150
|
+
/**
|
|
151
|
+
* The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.
|
|
152
|
+
*/
|
|
153
|
+
readonly customerTaxIds: pulumi.Output<outputs.InvoiceCustomerTaxId[]>;
|
|
154
|
+
/**
|
|
155
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
156
|
+
* The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
|
|
157
|
+
*/
|
|
158
|
+
readonly daysUntilDue: pulumi.Output<number | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* 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.
|
|
161
|
+
*/
|
|
162
|
+
readonly defaultPaymentMethod: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 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.
|
|
165
|
+
*/
|
|
166
|
+
readonly defaultSource: pulumi.Output<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The tax rates applied to this invoice, if any.
|
|
169
|
+
*/
|
|
170
|
+
readonly defaultTaxRates: pulumi.Output<string[]>;
|
|
171
|
+
/**
|
|
172
|
+
* An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.
|
|
173
|
+
*/
|
|
174
|
+
readonly description: pulumi.Output<string>;
|
|
175
|
+
/**
|
|
176
|
+
* The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.
|
|
177
|
+
*/
|
|
178
|
+
readonly discounts: pulumi.Output<outputs.InvoiceDiscount[]>;
|
|
179
|
+
/**
|
|
180
|
+
* The date on which payment for this invoice is due. This value will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> for invoices where `collection_method=charge_automatically`.
|
|
181
|
+
*/
|
|
182
|
+
readonly dueDate: pulumi.Output<number>;
|
|
183
|
+
/**
|
|
184
|
+
* The date when this invoice is in effect. Same as <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.
|
|
185
|
+
*/
|
|
186
|
+
readonly effectiveAt: pulumi.Output<number>;
|
|
187
|
+
/**
|
|
188
|
+
* 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.
|
|
189
|
+
*/
|
|
190
|
+
readonly endingBalance: pulumi.Output<number>;
|
|
191
|
+
/**
|
|
192
|
+
* Footer displayed on the invoice.
|
|
193
|
+
*/
|
|
194
|
+
readonly footer: pulumi.Output<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Details of the invoice that was cloned. See the [revision documentation](https://docs.stripe.com/invoicing/invoice-revisions) for more details.
|
|
197
|
+
*/
|
|
198
|
+
readonly fromInvoice: pulumi.Output<outputs.InvoiceFromInvoice>;
|
|
199
|
+
/**
|
|
200
|
+
* 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.
|
|
201
|
+
*/
|
|
202
|
+
readonly hostedInvoiceUrl: pulumi.Output<string>;
|
|
203
|
+
/**
|
|
204
|
+
* The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null.
|
|
205
|
+
*/
|
|
206
|
+
readonly invoicePdf: pulumi.Output<string>;
|
|
207
|
+
readonly issuer: pulumi.Output<outputs.InvoiceIssuer>;
|
|
208
|
+
/**
|
|
209
|
+
* The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized.
|
|
210
|
+
*/
|
|
211
|
+
readonly lastFinalizationError: pulumi.Output<outputs.InvoiceLastFinalizationError>;
|
|
212
|
+
/**
|
|
213
|
+
* The ID of the most recent non-draft revision of this invoice
|
|
214
|
+
*/
|
|
215
|
+
readonly latestRevision: pulumi.Output<string>;
|
|
216
|
+
/**
|
|
217
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
218
|
+
*/
|
|
219
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
222
|
+
*/
|
|
223
|
+
readonly metadata: pulumi.Output<{
|
|
224
|
+
[key: string]: string;
|
|
225
|
+
}>;
|
|
226
|
+
/**
|
|
227
|
+
* The time at which payment will next be attempted. This value will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> for invoices where `collection_method=send_invoice`.
|
|
228
|
+
*/
|
|
229
|
+
readonly nextPaymentAttempt: pulumi.Output<number>;
|
|
230
|
+
/**
|
|
231
|
+
* A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique<span pulumi-lang-nodejs=" invoicePrefix " pulumi-lang-dotnet=" InvoicePrefix " pulumi-lang-go=" invoicePrefix " pulumi-lang-python=" invoice_prefix " pulumi-lang-yaml=" invoicePrefix " pulumi-lang-java=" invoicePrefix " pulumi-lang-hcl=" invoice_prefix "> invoicePrefix </span>if it is specified.
|
|
232
|
+
*/
|
|
233
|
+
readonly number: pulumi.Output<string>;
|
|
234
|
+
/**
|
|
235
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
236
|
+
*/
|
|
237
|
+
readonly object: pulumi.Output<string>;
|
|
238
|
+
/**
|
|
239
|
+
* 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](https://docs.stripe.com/billing/invoices/connect) documentation for details.
|
|
240
|
+
*/
|
|
241
|
+
readonly onBehalfOf: pulumi.Output<string>;
|
|
242
|
+
/**
|
|
243
|
+
* The parent that generated this invoice
|
|
244
|
+
*/
|
|
245
|
+
readonly parent: pulumi.Output<outputs.InvoiceParent>;
|
|
246
|
+
readonly paymentSettings: pulumi.Output<outputs.InvoicePaymentSettings>;
|
|
247
|
+
/**
|
|
248
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
249
|
+
* How to handle pending invoice items on invoice creation. Defaults to <span pulumi-lang-nodejs="`exclude`" pulumi-lang-dotnet="`Exclude`" pulumi-lang-go="`exclude`" pulumi-lang-python="`exclude`" pulumi-lang-yaml="`exclude`" pulumi-lang-java="`exclude`" pulumi-lang-hcl="`exclude`">`exclude`</span> if the parameter is omitted.
|
|
250
|
+
*/
|
|
251
|
+
readonly pendingInvoiceItemsBehavior: pulumi.Output<string | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* The latest timestamp at which invoice items can be associated with this invoice. Use the [line item period](https://www.terraform.io/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.
|
|
254
|
+
*/
|
|
255
|
+
readonly periodEnd: pulumi.Output<number>;
|
|
256
|
+
/**
|
|
257
|
+
* The earliest timestamp at which invoice items can be associated with this invoice. Use the [line item period](https://www.terraform.io/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.
|
|
258
|
+
*/
|
|
259
|
+
readonly periodStart: pulumi.Output<number>;
|
|
260
|
+
/**
|
|
261
|
+
* Total amount of all post-payment credit notes issued for this invoice.
|
|
262
|
+
*/
|
|
263
|
+
readonly postPaymentCreditNotesAmount: pulumi.Output<number>;
|
|
264
|
+
/**
|
|
265
|
+
* Total amount of all pre-payment credit notes issued for this invoice.
|
|
266
|
+
*/
|
|
267
|
+
readonly prePaymentCreditNotesAmount: pulumi.Output<number>;
|
|
268
|
+
/**
|
|
269
|
+
* This is the transaction number that appears on email receipts sent for this invoice.
|
|
270
|
+
*/
|
|
271
|
+
readonly receiptNumber: pulumi.Output<string>;
|
|
272
|
+
/**
|
|
273
|
+
* The rendering-related settings that control how invoices render in customer-facing interfaces such as the PDF or hosted invoice page.
|
|
274
|
+
*/
|
|
275
|
+
readonly rendering: pulumi.Output<outputs.InvoiceRendering>;
|
|
276
|
+
/**
|
|
277
|
+
* The details of the cost of shipping, including the ShippingRate applied on the invoice.
|
|
278
|
+
*/
|
|
279
|
+
readonly shippingCost: pulumi.Output<outputs.InvoiceShippingCost>;
|
|
280
|
+
/**
|
|
281
|
+
* Shipping details for the invoice. The Invoice PDF will use the <span pulumi-lang-nodejs="`shippingDetails`" pulumi-lang-dotnet="`ShippingDetails`" pulumi-lang-go="`shippingDetails`" pulumi-lang-python="`shipping_details`" pulumi-lang-yaml="`shippingDetails`" pulumi-lang-java="`shippingDetails`" pulumi-lang-hcl="`shipping_details`">`shippingDetails`</span> value if it is set, otherwise the PDF will render the shipping address from the customer.
|
|
282
|
+
*/
|
|
283
|
+
readonly shippingDetails: pulumi.Output<outputs.InvoiceShippingDetails>;
|
|
284
|
+
/**
|
|
285
|
+
* 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.
|
|
286
|
+
*/
|
|
287
|
+
readonly startingBalance: pulumi.Output<number>;
|
|
288
|
+
/**
|
|
289
|
+
* Extra information about an invoice for the customer's credit card statement.
|
|
290
|
+
*/
|
|
291
|
+
readonly statementDescriptor: pulumi.Output<string>;
|
|
292
|
+
/**
|
|
293
|
+
* The status of the invoice, one of <span pulumi-lang-nodejs="`draft`" pulumi-lang-dotnet="`Draft`" pulumi-lang-go="`draft`" pulumi-lang-python="`draft`" pulumi-lang-yaml="`draft`" pulumi-lang-java="`draft`" pulumi-lang-hcl="`draft`">`draft`</span>, <span pulumi-lang-nodejs="`open`" pulumi-lang-dotnet="`Open`" pulumi-lang-go="`open`" pulumi-lang-python="`open`" pulumi-lang-yaml="`open`" pulumi-lang-java="`open`" pulumi-lang-hcl="`open`">`open`</span>, <span pulumi-lang-nodejs="`paid`" pulumi-lang-dotnet="`Paid`" pulumi-lang-go="`paid`" pulumi-lang-python="`paid`" pulumi-lang-yaml="`paid`" pulumi-lang-java="`paid`" pulumi-lang-hcl="`paid`">`paid`</span>, <span pulumi-lang-nodejs="`uncollectible`" pulumi-lang-dotnet="`Uncollectible`" pulumi-lang-go="`uncollectible`" pulumi-lang-python="`uncollectible`" pulumi-lang-yaml="`uncollectible`" pulumi-lang-java="`uncollectible`" pulumi-lang-hcl="`uncollectible`">`uncollectible`</span>, or <span pulumi-lang-nodejs="`void`" pulumi-lang-dotnet="`Void`" pulumi-lang-go="`void`" pulumi-lang-python="`void`" pulumi-lang-yaml="`void`" pulumi-lang-java="`void`" pulumi-lang-hcl="`void`">`void`</span>. [Learn more](https://docs.stripe.com/billing/invoices/workflow#workflow-overview)
|
|
294
|
+
*/
|
|
295
|
+
readonly status: pulumi.Output<string>;
|
|
296
|
+
readonly statusDetails: pulumi.Output<outputs.InvoiceStatusDetails>;
|
|
297
|
+
readonly statusTransitions: pulumi.Output<outputs.InvoiceStatusTransitions>;
|
|
298
|
+
readonly subscription: pulumi.Output<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Total 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
|
|
301
|
+
*/
|
|
302
|
+
readonly subtotal: pulumi.Output<number>;
|
|
303
|
+
/**
|
|
304
|
+
* The integer amount in cents (or local equivalent) representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated
|
|
305
|
+
*/
|
|
306
|
+
readonly subtotalExcludingTax: pulumi.Output<number>;
|
|
307
|
+
/**
|
|
308
|
+
* ID of the test clock this invoice belongs to.
|
|
309
|
+
*/
|
|
310
|
+
readonly testClock: pulumi.Output<string>;
|
|
311
|
+
readonly thresholdReason: pulumi.Output<outputs.InvoiceThresholdReason>;
|
|
312
|
+
/**
|
|
313
|
+
* Total after discounts and taxes.
|
|
314
|
+
*/
|
|
315
|
+
readonly total: pulumi.Output<number>;
|
|
316
|
+
/**
|
|
317
|
+
* The aggregate amounts calculated per discount across all line items.
|
|
318
|
+
*/
|
|
319
|
+
readonly totalDiscountAmounts: pulumi.Output<outputs.InvoiceTotalDiscountAmount[]>;
|
|
320
|
+
/**
|
|
321
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.
|
|
322
|
+
*/
|
|
323
|
+
readonly totalExcludingTax: pulumi.Output<number>;
|
|
324
|
+
/**
|
|
325
|
+
* Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of<span pulumi-lang-nodejs=" totalPretaxCreditAmounts " pulumi-lang-dotnet=" TotalPretaxCreditAmounts " pulumi-lang-go=" totalPretaxCreditAmounts " pulumi-lang-python=" total_pretax_credit_amounts " pulumi-lang-yaml=" totalPretaxCreditAmounts " pulumi-lang-java=" totalPretaxCreditAmounts " pulumi-lang-hcl=" total_pretax_credit_amounts "> totalPretaxCreditAmounts </span>across all invoice line items.
|
|
326
|
+
*/
|
|
327
|
+
readonly totalPretaxCreditAmounts: pulumi.Output<outputs.InvoiceTotalPretaxCreditAmount[]>;
|
|
328
|
+
/**
|
|
329
|
+
* The aggregate tax information of all line items.
|
|
330
|
+
*/
|
|
331
|
+
readonly totalTaxes: pulumi.Output<outputs.InvoiceTotalTax[]>;
|
|
332
|
+
/**
|
|
333
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
334
|
+
* If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.
|
|
335
|
+
*/
|
|
336
|
+
readonly transferData: pulumi.Output<outputs.InvoiceTransferData | undefined>;
|
|
337
|
+
/**
|
|
338
|
+
* Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://docs.stripe.com/billing/webhooks#understand). 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.
|
|
339
|
+
*/
|
|
340
|
+
readonly webhooksDeliveredAt: pulumi.Output<number>;
|
|
341
|
+
/**
|
|
342
|
+
* Create a Invoice resource with the given unique name, arguments, and options.
|
|
343
|
+
*
|
|
344
|
+
* @param name The _unique_ name of the resource.
|
|
345
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
346
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
347
|
+
*/
|
|
348
|
+
constructor(name: string, args?: InvoiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Input properties used for looking up and filtering Invoice resources.
|
|
352
|
+
*/
|
|
353
|
+
export interface InvoiceState {
|
|
354
|
+
/**
|
|
355
|
+
* The country of the business associated with this invoice, most often the business creating the invoice.
|
|
356
|
+
*/
|
|
357
|
+
accountCountry?: pulumi.Input<string | undefined>;
|
|
358
|
+
/**
|
|
359
|
+
* The public name of the business associated with this invoice, most often the business creating the invoice.
|
|
360
|
+
*/
|
|
361
|
+
accountName?: pulumi.Input<string | undefined>;
|
|
362
|
+
/**
|
|
363
|
+
* The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
|
|
364
|
+
*/
|
|
365
|
+
accountTaxIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
366
|
+
/**
|
|
367
|
+
* 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 <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> may be 0. If there is a positive <span pulumi-lang-nodejs="`startingBalance`" pulumi-lang-dotnet="`StartingBalance`" pulumi-lang-go="`startingBalance`" pulumi-lang-python="`starting_balance`" pulumi-lang-yaml="`startingBalance`" pulumi-lang-java="`startingBalance`" pulumi-lang-hcl="`starting_balance`">`startingBalance`</span> for the invoice (the customer owes money), the <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> will also take that into account. The charge that gets generated for the invoice will be for the amount specified in <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span>.
|
|
368
|
+
*/
|
|
369
|
+
amountDue?: pulumi.Input<number | undefined>;
|
|
370
|
+
/**
|
|
371
|
+
* Amount that was overpaid on the invoice. The amount overpaid is credited to the customer's credit balance.
|
|
372
|
+
*/
|
|
373
|
+
amountOverpaid?: pulumi.Input<number | undefined>;
|
|
374
|
+
/**
|
|
375
|
+
* The amount, in cents (or local equivalent), that was paid.
|
|
376
|
+
*/
|
|
377
|
+
amountPaid?: pulumi.Input<number | undefined>;
|
|
378
|
+
/**
|
|
379
|
+
* Amount, in cents (or local equivalent), that was paid on the invoice outside of Stripe.
|
|
380
|
+
*/
|
|
381
|
+
amountPaidOffStripe?: pulumi.Input<number | undefined>;
|
|
382
|
+
/**
|
|
383
|
+
* The difference between<span pulumi-lang-nodejs=" amountDue " pulumi-lang-dotnet=" AmountDue " pulumi-lang-go=" amountDue " pulumi-lang-python=" amount_due " pulumi-lang-yaml=" amountDue " pulumi-lang-java=" amountDue " pulumi-lang-hcl=" amount_due "> amountDue </span>and amount_paid, in cents (or local equivalent).
|
|
384
|
+
*/
|
|
385
|
+
amountRemaining?: pulumi.Input<number | undefined>;
|
|
386
|
+
/**
|
|
387
|
+
* This is the sum of all the shipping amounts.
|
|
388
|
+
*/
|
|
389
|
+
amountShipping?: pulumi.Input<number | undefined>;
|
|
390
|
+
/**
|
|
391
|
+
* ID of the Connect Application that created the invoice.
|
|
392
|
+
*/
|
|
393
|
+
application?: pulumi.Input<string | undefined>;
|
|
394
|
+
/**
|
|
395
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
396
|
+
* A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
|
|
397
|
+
*/
|
|
398
|
+
applicationFeeAmount?: pulumi.Input<number | undefined>;
|
|
399
|
+
/**
|
|
400
|
+
* 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<span pulumi-lang-nodejs=" attemptCount " pulumi-lang-dotnet=" AttemptCount " pulumi-lang-go=" attemptCount " pulumi-lang-python=" attempt_count " pulumi-lang-yaml=" attemptCount " pulumi-lang-java=" attemptCount " pulumi-lang-hcl=" attempt_count "> attemptCount </span>will continue to increment, but retries will only be executed if a new payment method is obtained.
|
|
401
|
+
*/
|
|
402
|
+
attemptCount?: pulumi.Input<number | undefined>;
|
|
403
|
+
/**
|
|
404
|
+
* Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the `invoice.created` webhook, for example, so you might not want to display that invoice as unpaid to your users.
|
|
405
|
+
*/
|
|
406
|
+
attempted?: pulumi.Input<boolean | undefined>;
|
|
407
|
+
/**
|
|
408
|
+
* Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the invoice's state doesn't automatically advance without an explicit action.
|
|
409
|
+
*/
|
|
410
|
+
autoAdvance?: pulumi.Input<boolean | undefined>;
|
|
411
|
+
automaticTax?: pulumi.Input<inputs.InvoiceAutomaticTax | undefined>;
|
|
412
|
+
/**
|
|
413
|
+
* The time when this invoice is currently scheduled to be automatically finalized. The field will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> - see <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> for the time when an already-finalized invoice was finalized.
|
|
414
|
+
*/
|
|
415
|
+
automaticallyFinalizesAt?: pulumi.Input<number | undefined>;
|
|
416
|
+
/**
|
|
417
|
+
* Indicates the reason why the invoice was created.
|
|
418
|
+
*
|
|
419
|
+
* * <span pulumi-lang-nodejs="`manual`" pulumi-lang-dotnet="`Manual`" pulumi-lang-go="`manual`" pulumi-lang-python="`manual`" pulumi-lang-yaml="`manual`" pulumi-lang-java="`manual`" pulumi-lang-hcl="`manual`">`manual`</span>: Unrelated to a subscription, for example, created via the invoice editor.
|
|
420
|
+
* * <span pulumi-lang-nodejs="`subscription`" pulumi-lang-dotnet="`Subscription`" pulumi-lang-go="`subscription`" pulumi-lang-python="`subscription`" pulumi-lang-yaml="`subscription`" pulumi-lang-java="`subscription`" pulumi-lang-hcl="`subscription`">`subscription`</span>: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.
|
|
421
|
+
* * <span pulumi-lang-nodejs="`subscriptionCreate`" pulumi-lang-dotnet="`SubscriptionCreate`" pulumi-lang-go="`subscriptionCreate`" pulumi-lang-python="`subscription_create`" pulumi-lang-yaml="`subscriptionCreate`" pulumi-lang-java="`subscriptionCreate`" pulumi-lang-hcl="`subscription_create`">`subscriptionCreate`</span>: A new subscription was created.
|
|
422
|
+
* * <span pulumi-lang-nodejs="`subscriptionCycle`" pulumi-lang-dotnet="`SubscriptionCycle`" pulumi-lang-go="`subscriptionCycle`" pulumi-lang-python="`subscription_cycle`" pulumi-lang-yaml="`subscriptionCycle`" pulumi-lang-java="`subscriptionCycle`" pulumi-lang-hcl="`subscription_cycle`">`subscriptionCycle`</span>: A subscription advanced into a new period.
|
|
423
|
+
* * <span pulumi-lang-nodejs="`subscriptionThreshold`" pulumi-lang-dotnet="`SubscriptionThreshold`" pulumi-lang-go="`subscriptionThreshold`" pulumi-lang-python="`subscription_threshold`" pulumi-lang-yaml="`subscriptionThreshold`" pulumi-lang-java="`subscriptionThreshold`" pulumi-lang-hcl="`subscription_threshold`">`subscriptionThreshold`</span>: A subscription reached a billing threshold.
|
|
424
|
+
* * <span pulumi-lang-nodejs="`subscriptionUpdate`" pulumi-lang-dotnet="`SubscriptionUpdate`" pulumi-lang-go="`subscriptionUpdate`" pulumi-lang-python="`subscription_update`" pulumi-lang-yaml="`subscriptionUpdate`" pulumi-lang-java="`subscriptionUpdate`" pulumi-lang-hcl="`subscription_update`">`subscriptionUpdate`</span>: A subscription was updated.
|
|
425
|
+
* * <span pulumi-lang-nodejs="`upcoming`" pulumi-lang-dotnet="`Upcoming`" pulumi-lang-go="`upcoming`" pulumi-lang-python="`upcoming`" pulumi-lang-yaml="`upcoming`" pulumi-lang-java="`upcoming`" pulumi-lang-hcl="`upcoming`">`upcoming`</span>: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.
|
|
426
|
+
*/
|
|
427
|
+
billingReason?: pulumi.Input<string | undefined>;
|
|
428
|
+
/**
|
|
429
|
+
* Either <span pulumi-lang-nodejs="`chargeAutomatically`" pulumi-lang-dotnet="`ChargeAutomatically`" pulumi-lang-go="`chargeAutomatically`" pulumi-lang-python="`charge_automatically`" pulumi-lang-yaml="`chargeAutomatically`" pulumi-lang-java="`chargeAutomatically`" pulumi-lang-hcl="`charge_automatically`">`chargeAutomatically`</span>, or <span pulumi-lang-nodejs="`sendInvoice`" pulumi-lang-dotnet="`SendInvoice`" pulumi-lang-go="`sendInvoice`" pulumi-lang-python="`send_invoice`" pulumi-lang-yaml="`sendInvoice`" pulumi-lang-java="`sendInvoice`" pulumi-lang-hcl="`send_invoice`">`sendInvoice`</span>. 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.
|
|
430
|
+
*/
|
|
431
|
+
collectionMethod?: pulumi.Input<string | undefined>;
|
|
432
|
+
/**
|
|
433
|
+
* The confirmation secret associated with this invoice. Currently, this contains the<span pulumi-lang-nodejs=" clientSecret " pulumi-lang-dotnet=" ClientSecret " pulumi-lang-go=" clientSecret " pulumi-lang-python=" client_secret " pulumi-lang-yaml=" clientSecret " pulumi-lang-java=" clientSecret " pulumi-lang-hcl=" client_secret "> clientSecret </span>of the PaymentIntent that Stripe creates during invoice finalization.
|
|
434
|
+
*/
|
|
435
|
+
confirmationSecret?: pulumi.Input<inputs.InvoiceConfirmationSecret | undefined>;
|
|
436
|
+
/**
|
|
437
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
438
|
+
*/
|
|
439
|
+
created?: pulumi.Input<number | undefined>;
|
|
440
|
+
/**
|
|
441
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
442
|
+
*/
|
|
443
|
+
currency?: pulumi.Input<string | undefined>;
|
|
444
|
+
/**
|
|
445
|
+
* Custom fields displayed on the invoice.
|
|
446
|
+
*/
|
|
447
|
+
customFields?: pulumi.Input<pulumi.Input<inputs.InvoiceCustomField>[] | undefined>;
|
|
448
|
+
/**
|
|
449
|
+
* The ID of the customer to bill.
|
|
450
|
+
*/
|
|
451
|
+
customer?: pulumi.Input<string | undefined>;
|
|
452
|
+
/**
|
|
453
|
+
* The ID of the account representing the customer to bill.
|
|
454
|
+
*/
|
|
455
|
+
customerAccount?: pulumi.Input<string | undefined>;
|
|
456
|
+
/**
|
|
457
|
+
* The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated.
|
|
458
|
+
*/
|
|
459
|
+
customerAddress?: pulumi.Input<inputs.InvoiceCustomerAddress | undefined>;
|
|
460
|
+
/**
|
|
461
|
+
* The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated.
|
|
462
|
+
*/
|
|
463
|
+
customerEmail?: pulumi.Input<string | undefined>;
|
|
464
|
+
/**
|
|
465
|
+
* The customer's name. Until the invoice is finalized, this field will equal `customer.name`. Once the invoice is finalized, this field will no longer be updated.
|
|
466
|
+
*/
|
|
467
|
+
customerName?: pulumi.Input<string | undefined>;
|
|
468
|
+
/**
|
|
469
|
+
* The customer's phone number. Until the invoice is finalized, this field will equal `customer.phone`. Once the invoice is finalized, this field will no longer be updated.
|
|
470
|
+
*/
|
|
471
|
+
customerPhone?: pulumi.Input<string | undefined>;
|
|
472
|
+
/**
|
|
473
|
+
* The customer's shipping information. Until the invoice is finalized, this field will equal `customer.shipping`. Once the invoice is finalized, this field will no longer be updated.
|
|
474
|
+
*/
|
|
475
|
+
customerShipping?: pulumi.Input<inputs.InvoiceCustomerShipping | undefined>;
|
|
476
|
+
/**
|
|
477
|
+
* The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated.
|
|
478
|
+
*/
|
|
479
|
+
customerTaxIds?: pulumi.Input<pulumi.Input<inputs.InvoiceCustomerTaxId>[] | undefined>;
|
|
480
|
+
/**
|
|
481
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
482
|
+
* The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
|
|
483
|
+
*/
|
|
484
|
+
daysUntilDue?: pulumi.Input<number | undefined>;
|
|
485
|
+
/**
|
|
486
|
+
* 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.
|
|
487
|
+
*/
|
|
488
|
+
defaultPaymentMethod?: pulumi.Input<string | undefined>;
|
|
489
|
+
/**
|
|
490
|
+
* 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.
|
|
491
|
+
*/
|
|
492
|
+
defaultSource?: pulumi.Input<string | undefined>;
|
|
493
|
+
/**
|
|
494
|
+
* The tax rates applied to this invoice, if any.
|
|
495
|
+
*/
|
|
496
|
+
defaultTaxRates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
497
|
+
/**
|
|
498
|
+
* An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.
|
|
499
|
+
*/
|
|
500
|
+
description?: pulumi.Input<string | undefined>;
|
|
501
|
+
/**
|
|
502
|
+
* The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.
|
|
503
|
+
*/
|
|
504
|
+
discounts?: pulumi.Input<pulumi.Input<inputs.InvoiceDiscount>[] | undefined>;
|
|
505
|
+
/**
|
|
506
|
+
* The date on which payment for this invoice is due. This value will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> for invoices where `collection_method=charge_automatically`.
|
|
507
|
+
*/
|
|
508
|
+
dueDate?: pulumi.Input<number | undefined>;
|
|
509
|
+
/**
|
|
510
|
+
* The date when this invoice is in effect. Same as <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.
|
|
511
|
+
*/
|
|
512
|
+
effectiveAt?: pulumi.Input<number | undefined>;
|
|
513
|
+
/**
|
|
514
|
+
* 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.
|
|
515
|
+
*/
|
|
516
|
+
endingBalance?: pulumi.Input<number | undefined>;
|
|
517
|
+
/**
|
|
518
|
+
* Footer displayed on the invoice.
|
|
519
|
+
*/
|
|
520
|
+
footer?: pulumi.Input<string | undefined>;
|
|
521
|
+
/**
|
|
522
|
+
* Details of the invoice that was cloned. See the [revision documentation](https://docs.stripe.com/invoicing/invoice-revisions) for more details.
|
|
523
|
+
*/
|
|
524
|
+
fromInvoice?: pulumi.Input<inputs.InvoiceFromInvoice | undefined>;
|
|
525
|
+
/**
|
|
526
|
+
* 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.
|
|
527
|
+
*/
|
|
528
|
+
hostedInvoiceUrl?: pulumi.Input<string | undefined>;
|
|
529
|
+
/**
|
|
530
|
+
* The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null.
|
|
531
|
+
*/
|
|
532
|
+
invoicePdf?: pulumi.Input<string | undefined>;
|
|
533
|
+
issuer?: pulumi.Input<inputs.InvoiceIssuer | undefined>;
|
|
534
|
+
/**
|
|
535
|
+
* The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized.
|
|
536
|
+
*/
|
|
537
|
+
lastFinalizationError?: pulumi.Input<inputs.InvoiceLastFinalizationError | undefined>;
|
|
538
|
+
/**
|
|
539
|
+
* The ID of the most recent non-draft revision of this invoice
|
|
540
|
+
*/
|
|
541
|
+
latestRevision?: pulumi.Input<string | undefined>;
|
|
542
|
+
/**
|
|
543
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
544
|
+
*/
|
|
545
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
546
|
+
/**
|
|
547
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
548
|
+
*/
|
|
549
|
+
metadata?: pulumi.Input<{
|
|
550
|
+
[key: string]: pulumi.Input<string>;
|
|
551
|
+
} | undefined>;
|
|
552
|
+
/**
|
|
553
|
+
* The time at which payment will next be attempted. This value will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> for invoices where `collection_method=send_invoice`.
|
|
554
|
+
*/
|
|
555
|
+
nextPaymentAttempt?: pulumi.Input<number | undefined>;
|
|
556
|
+
/**
|
|
557
|
+
* A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique<span pulumi-lang-nodejs=" invoicePrefix " pulumi-lang-dotnet=" InvoicePrefix " pulumi-lang-go=" invoicePrefix " pulumi-lang-python=" invoice_prefix " pulumi-lang-yaml=" invoicePrefix " pulumi-lang-java=" invoicePrefix " pulumi-lang-hcl=" invoice_prefix "> invoicePrefix </span>if it is specified.
|
|
558
|
+
*/
|
|
559
|
+
number?: pulumi.Input<string | undefined>;
|
|
560
|
+
/**
|
|
561
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
562
|
+
*/
|
|
563
|
+
object?: pulumi.Input<string | undefined>;
|
|
564
|
+
/**
|
|
565
|
+
* 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](https://docs.stripe.com/billing/invoices/connect) documentation for details.
|
|
566
|
+
*/
|
|
567
|
+
onBehalfOf?: pulumi.Input<string | undefined>;
|
|
568
|
+
/**
|
|
569
|
+
* The parent that generated this invoice
|
|
570
|
+
*/
|
|
571
|
+
parent?: pulumi.Input<inputs.InvoiceParent | undefined>;
|
|
572
|
+
paymentSettings?: pulumi.Input<inputs.InvoicePaymentSettings | undefined>;
|
|
573
|
+
/**
|
|
574
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
575
|
+
* How to handle pending invoice items on invoice creation. Defaults to <span pulumi-lang-nodejs="`exclude`" pulumi-lang-dotnet="`Exclude`" pulumi-lang-go="`exclude`" pulumi-lang-python="`exclude`" pulumi-lang-yaml="`exclude`" pulumi-lang-java="`exclude`" pulumi-lang-hcl="`exclude`">`exclude`</span> if the parameter is omitted.
|
|
576
|
+
*/
|
|
577
|
+
pendingInvoiceItemsBehavior?: pulumi.Input<string | undefined>;
|
|
578
|
+
/**
|
|
579
|
+
* The latest timestamp at which invoice items can be associated with this invoice. Use the [line item period](https://www.terraform.io/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.
|
|
580
|
+
*/
|
|
581
|
+
periodEnd?: pulumi.Input<number | undefined>;
|
|
582
|
+
/**
|
|
583
|
+
* The earliest timestamp at which invoice items can be associated with this invoice. Use the [line item period](https://www.terraform.io/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.
|
|
584
|
+
*/
|
|
585
|
+
periodStart?: pulumi.Input<number | undefined>;
|
|
586
|
+
/**
|
|
587
|
+
* Total amount of all post-payment credit notes issued for this invoice.
|
|
588
|
+
*/
|
|
589
|
+
postPaymentCreditNotesAmount?: pulumi.Input<number | undefined>;
|
|
590
|
+
/**
|
|
591
|
+
* Total amount of all pre-payment credit notes issued for this invoice.
|
|
592
|
+
*/
|
|
593
|
+
prePaymentCreditNotesAmount?: pulumi.Input<number | undefined>;
|
|
594
|
+
/**
|
|
595
|
+
* This is the transaction number that appears on email receipts sent for this invoice.
|
|
596
|
+
*/
|
|
597
|
+
receiptNumber?: pulumi.Input<string | undefined>;
|
|
598
|
+
/**
|
|
599
|
+
* The rendering-related settings that control how invoices render in customer-facing interfaces such as the PDF or hosted invoice page.
|
|
600
|
+
*/
|
|
601
|
+
rendering?: pulumi.Input<inputs.InvoiceRendering | undefined>;
|
|
602
|
+
/**
|
|
603
|
+
* The details of the cost of shipping, including the ShippingRate applied on the invoice.
|
|
604
|
+
*/
|
|
605
|
+
shippingCost?: pulumi.Input<inputs.InvoiceShippingCost | undefined>;
|
|
606
|
+
/**
|
|
607
|
+
* Shipping details for the invoice. The Invoice PDF will use the <span pulumi-lang-nodejs="`shippingDetails`" pulumi-lang-dotnet="`ShippingDetails`" pulumi-lang-go="`shippingDetails`" pulumi-lang-python="`shipping_details`" pulumi-lang-yaml="`shippingDetails`" pulumi-lang-java="`shippingDetails`" pulumi-lang-hcl="`shipping_details`">`shippingDetails`</span> value if it is set, otherwise the PDF will render the shipping address from the customer.
|
|
608
|
+
*/
|
|
609
|
+
shippingDetails?: pulumi.Input<inputs.InvoiceShippingDetails | undefined>;
|
|
610
|
+
/**
|
|
611
|
+
* 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.
|
|
612
|
+
*/
|
|
613
|
+
startingBalance?: pulumi.Input<number | undefined>;
|
|
614
|
+
/**
|
|
615
|
+
* Extra information about an invoice for the customer's credit card statement.
|
|
616
|
+
*/
|
|
617
|
+
statementDescriptor?: pulumi.Input<string | undefined>;
|
|
618
|
+
/**
|
|
619
|
+
* The status of the invoice, one of <span pulumi-lang-nodejs="`draft`" pulumi-lang-dotnet="`Draft`" pulumi-lang-go="`draft`" pulumi-lang-python="`draft`" pulumi-lang-yaml="`draft`" pulumi-lang-java="`draft`" pulumi-lang-hcl="`draft`">`draft`</span>, <span pulumi-lang-nodejs="`open`" pulumi-lang-dotnet="`Open`" pulumi-lang-go="`open`" pulumi-lang-python="`open`" pulumi-lang-yaml="`open`" pulumi-lang-java="`open`" pulumi-lang-hcl="`open`">`open`</span>, <span pulumi-lang-nodejs="`paid`" pulumi-lang-dotnet="`Paid`" pulumi-lang-go="`paid`" pulumi-lang-python="`paid`" pulumi-lang-yaml="`paid`" pulumi-lang-java="`paid`" pulumi-lang-hcl="`paid`">`paid`</span>, <span pulumi-lang-nodejs="`uncollectible`" pulumi-lang-dotnet="`Uncollectible`" pulumi-lang-go="`uncollectible`" pulumi-lang-python="`uncollectible`" pulumi-lang-yaml="`uncollectible`" pulumi-lang-java="`uncollectible`" pulumi-lang-hcl="`uncollectible`">`uncollectible`</span>, or <span pulumi-lang-nodejs="`void`" pulumi-lang-dotnet="`Void`" pulumi-lang-go="`void`" pulumi-lang-python="`void`" pulumi-lang-yaml="`void`" pulumi-lang-java="`void`" pulumi-lang-hcl="`void`">`void`</span>. [Learn more](https://docs.stripe.com/billing/invoices/workflow#workflow-overview)
|
|
620
|
+
*/
|
|
621
|
+
status?: pulumi.Input<string | undefined>;
|
|
622
|
+
statusDetails?: pulumi.Input<inputs.InvoiceStatusDetails | undefined>;
|
|
623
|
+
statusTransitions?: pulumi.Input<inputs.InvoiceStatusTransitions | undefined>;
|
|
624
|
+
subscription?: pulumi.Input<string | undefined>;
|
|
625
|
+
/**
|
|
626
|
+
* Total 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
|
|
627
|
+
*/
|
|
628
|
+
subtotal?: pulumi.Input<number | undefined>;
|
|
629
|
+
/**
|
|
630
|
+
* The integer amount in cents (or local equivalent) representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated
|
|
631
|
+
*/
|
|
632
|
+
subtotalExcludingTax?: pulumi.Input<number | undefined>;
|
|
633
|
+
/**
|
|
634
|
+
* ID of the test clock this invoice belongs to.
|
|
635
|
+
*/
|
|
636
|
+
testClock?: pulumi.Input<string | undefined>;
|
|
637
|
+
thresholdReason?: pulumi.Input<inputs.InvoiceThresholdReason | undefined>;
|
|
638
|
+
/**
|
|
639
|
+
* Total after discounts and taxes.
|
|
640
|
+
*/
|
|
641
|
+
total?: pulumi.Input<number | undefined>;
|
|
642
|
+
/**
|
|
643
|
+
* The aggregate amounts calculated per discount across all line items.
|
|
644
|
+
*/
|
|
645
|
+
totalDiscountAmounts?: pulumi.Input<pulumi.Input<inputs.InvoiceTotalDiscountAmount>[] | undefined>;
|
|
646
|
+
/**
|
|
647
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the invoice including all discounts but excluding all tax.
|
|
648
|
+
*/
|
|
649
|
+
totalExcludingTax?: pulumi.Input<number | undefined>;
|
|
650
|
+
/**
|
|
651
|
+
* Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this invoice. This is a combined list of<span pulumi-lang-nodejs=" totalPretaxCreditAmounts " pulumi-lang-dotnet=" TotalPretaxCreditAmounts " pulumi-lang-go=" totalPretaxCreditAmounts " pulumi-lang-python=" total_pretax_credit_amounts " pulumi-lang-yaml=" totalPretaxCreditAmounts " pulumi-lang-java=" totalPretaxCreditAmounts " pulumi-lang-hcl=" total_pretax_credit_amounts "> totalPretaxCreditAmounts </span>across all invoice line items.
|
|
652
|
+
*/
|
|
653
|
+
totalPretaxCreditAmounts?: pulumi.Input<pulumi.Input<inputs.InvoiceTotalPretaxCreditAmount>[] | undefined>;
|
|
654
|
+
/**
|
|
655
|
+
* The aggregate tax information of all line items.
|
|
656
|
+
*/
|
|
657
|
+
totalTaxes?: pulumi.Input<pulumi.Input<inputs.InvoiceTotalTax>[] | undefined>;
|
|
658
|
+
/**
|
|
659
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
660
|
+
* If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.
|
|
661
|
+
*/
|
|
662
|
+
transferData?: pulumi.Input<inputs.InvoiceTransferData | undefined>;
|
|
663
|
+
/**
|
|
664
|
+
* Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://docs.stripe.com/billing/webhooks#understand). 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.
|
|
665
|
+
*/
|
|
666
|
+
webhooksDeliveredAt?: pulumi.Input<number | undefined>;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* The set of arguments for constructing a Invoice resource.
|
|
670
|
+
*/
|
|
671
|
+
export interface InvoiceArgs {
|
|
672
|
+
/**
|
|
673
|
+
* The account tax IDs associated with the invoice. Only editable when the invoice is a draft.
|
|
674
|
+
*/
|
|
675
|
+
accountTaxIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
676
|
+
/**
|
|
677
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
678
|
+
* A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://docs.stripe.com/billing/invoices/connect#collecting-fees).
|
|
679
|
+
*/
|
|
680
|
+
applicationFeeAmount?: pulumi.Input<number | undefined>;
|
|
681
|
+
/**
|
|
682
|
+
* Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the invoice's state doesn't automatically advance without an explicit action.
|
|
683
|
+
*/
|
|
684
|
+
autoAdvance?: pulumi.Input<boolean | undefined>;
|
|
685
|
+
automaticTax?: pulumi.Input<inputs.InvoiceAutomaticTax | undefined>;
|
|
686
|
+
/**
|
|
687
|
+
* The time when this invoice is currently scheduled to be automatically finalized. The field will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> - see <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> for the time when an already-finalized invoice was finalized.
|
|
688
|
+
*/
|
|
689
|
+
automaticallyFinalizesAt?: pulumi.Input<number | undefined>;
|
|
690
|
+
/**
|
|
691
|
+
* Either <span pulumi-lang-nodejs="`chargeAutomatically`" pulumi-lang-dotnet="`ChargeAutomatically`" pulumi-lang-go="`chargeAutomatically`" pulumi-lang-python="`charge_automatically`" pulumi-lang-yaml="`chargeAutomatically`" pulumi-lang-java="`chargeAutomatically`" pulumi-lang-hcl="`charge_automatically`">`chargeAutomatically`</span>, or <span pulumi-lang-nodejs="`sendInvoice`" pulumi-lang-dotnet="`SendInvoice`" pulumi-lang-go="`sendInvoice`" pulumi-lang-python="`send_invoice`" pulumi-lang-yaml="`sendInvoice`" pulumi-lang-java="`sendInvoice`" pulumi-lang-hcl="`send_invoice`">`sendInvoice`</span>. 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.
|
|
692
|
+
*/
|
|
693
|
+
collectionMethod?: pulumi.Input<string | undefined>;
|
|
694
|
+
/**
|
|
695
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
696
|
+
*/
|
|
697
|
+
currency?: pulumi.Input<string | undefined>;
|
|
698
|
+
/**
|
|
699
|
+
* Custom fields displayed on the invoice.
|
|
700
|
+
*/
|
|
701
|
+
customFields?: pulumi.Input<pulumi.Input<inputs.InvoiceCustomField>[] | undefined>;
|
|
702
|
+
/**
|
|
703
|
+
* The ID of the customer to bill.
|
|
704
|
+
*/
|
|
705
|
+
customer?: pulumi.Input<string | undefined>;
|
|
706
|
+
/**
|
|
707
|
+
* The ID of the account representing the customer to bill.
|
|
708
|
+
*/
|
|
709
|
+
customerAccount?: pulumi.Input<string | undefined>;
|
|
710
|
+
/**
|
|
711
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
712
|
+
* The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.
|
|
713
|
+
*/
|
|
714
|
+
daysUntilDue?: pulumi.Input<number | undefined>;
|
|
715
|
+
/**
|
|
716
|
+
* 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.
|
|
717
|
+
*/
|
|
718
|
+
defaultPaymentMethod?: pulumi.Input<string | undefined>;
|
|
719
|
+
/**
|
|
720
|
+
* 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.
|
|
721
|
+
*/
|
|
722
|
+
defaultSource?: pulumi.Input<string | undefined>;
|
|
723
|
+
/**
|
|
724
|
+
* The tax rates applied to this invoice, if any.
|
|
725
|
+
*/
|
|
726
|
+
defaultTaxRates?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
727
|
+
/**
|
|
728
|
+
* An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.
|
|
729
|
+
*/
|
|
730
|
+
description?: pulumi.Input<string | undefined>;
|
|
731
|
+
/**
|
|
732
|
+
* The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.
|
|
733
|
+
*/
|
|
734
|
+
discounts?: pulumi.Input<pulumi.Input<inputs.InvoiceDiscount>[] | undefined>;
|
|
735
|
+
/**
|
|
736
|
+
* The date on which payment for this invoice is due. This value will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> for invoices where `collection_method=charge_automatically`.
|
|
737
|
+
*/
|
|
738
|
+
dueDate?: pulumi.Input<number | undefined>;
|
|
739
|
+
/**
|
|
740
|
+
* The date when this invoice is in effect. Same as <span pulumi-lang-nodejs="`finalizedAt`" pulumi-lang-dotnet="`FinalizedAt`" pulumi-lang-go="`finalizedAt`" pulumi-lang-python="`finalized_at`" pulumi-lang-yaml="`finalizedAt`" pulumi-lang-java="`finalizedAt`" pulumi-lang-hcl="`finalized_at`">`finalizedAt`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.
|
|
741
|
+
*/
|
|
742
|
+
effectiveAt?: pulumi.Input<number | undefined>;
|
|
743
|
+
/**
|
|
744
|
+
* Footer displayed on the invoice.
|
|
745
|
+
*/
|
|
746
|
+
footer?: pulumi.Input<string | undefined>;
|
|
747
|
+
/**
|
|
748
|
+
* Details of the invoice that was cloned. See the [revision documentation](https://docs.stripe.com/invoicing/invoice-revisions) for more details.
|
|
749
|
+
*/
|
|
750
|
+
fromInvoice?: pulumi.Input<inputs.InvoiceFromInvoice | undefined>;
|
|
751
|
+
issuer?: pulumi.Input<inputs.InvoiceIssuer | undefined>;
|
|
752
|
+
/**
|
|
753
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
754
|
+
*/
|
|
755
|
+
metadata?: pulumi.Input<{
|
|
756
|
+
[key: string]: pulumi.Input<string>;
|
|
757
|
+
} | undefined>;
|
|
758
|
+
/**
|
|
759
|
+
* A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique<span pulumi-lang-nodejs=" invoicePrefix " pulumi-lang-dotnet=" InvoicePrefix " pulumi-lang-go=" invoicePrefix " pulumi-lang-python=" invoice_prefix " pulumi-lang-yaml=" invoicePrefix " pulumi-lang-java=" invoicePrefix " pulumi-lang-hcl=" invoice_prefix "> invoicePrefix </span>if it is specified.
|
|
760
|
+
*/
|
|
761
|
+
number?: pulumi.Input<string | undefined>;
|
|
762
|
+
/**
|
|
763
|
+
* 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](https://docs.stripe.com/billing/invoices/connect) documentation for details.
|
|
764
|
+
*/
|
|
765
|
+
onBehalfOf?: pulumi.Input<string | undefined>;
|
|
766
|
+
paymentSettings?: pulumi.Input<inputs.InvoicePaymentSettings | undefined>;
|
|
767
|
+
/**
|
|
768
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
769
|
+
* How to handle pending invoice items on invoice creation. Defaults to <span pulumi-lang-nodejs="`exclude`" pulumi-lang-dotnet="`Exclude`" pulumi-lang-go="`exclude`" pulumi-lang-python="`exclude`" pulumi-lang-yaml="`exclude`" pulumi-lang-java="`exclude`" pulumi-lang-hcl="`exclude`">`exclude`</span> if the parameter is omitted.
|
|
770
|
+
*/
|
|
771
|
+
pendingInvoiceItemsBehavior?: pulumi.Input<string | undefined>;
|
|
772
|
+
/**
|
|
773
|
+
* The rendering-related settings that control how invoices render in customer-facing interfaces such as the PDF or hosted invoice page.
|
|
774
|
+
*/
|
|
775
|
+
rendering?: pulumi.Input<inputs.InvoiceRendering | undefined>;
|
|
776
|
+
/**
|
|
777
|
+
* The details of the cost of shipping, including the ShippingRate applied on the invoice.
|
|
778
|
+
*/
|
|
779
|
+
shippingCost?: pulumi.Input<inputs.InvoiceShippingCost | undefined>;
|
|
780
|
+
/**
|
|
781
|
+
* Shipping details for the invoice. The Invoice PDF will use the <span pulumi-lang-nodejs="`shippingDetails`" pulumi-lang-dotnet="`ShippingDetails`" pulumi-lang-go="`shippingDetails`" pulumi-lang-python="`shipping_details`" pulumi-lang-yaml="`shippingDetails`" pulumi-lang-java="`shippingDetails`" pulumi-lang-hcl="`shipping_details`">`shippingDetails`</span> value if it is set, otherwise the PDF will render the shipping address from the customer.
|
|
782
|
+
*/
|
|
783
|
+
shippingDetails?: pulumi.Input<inputs.InvoiceShippingDetails | undefined>;
|
|
784
|
+
/**
|
|
785
|
+
* Extra information about an invoice for the customer's credit card statement.
|
|
786
|
+
*/
|
|
787
|
+
statementDescriptor?: pulumi.Input<string | undefined>;
|
|
788
|
+
subscription?: pulumi.Input<string | undefined>;
|
|
789
|
+
/**
|
|
790
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
791
|
+
* If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.
|
|
792
|
+
*/
|
|
793
|
+
transferData?: pulumi.Input<inputs.InvoiceTransferData | undefined>;
|
|
794
|
+
}
|
|
795
|
+
//# sourceMappingURL=invoice.d.ts.map
|