The invoice configuration details. Includes partial payment, tip, and tax calculated after discount.
allow_tipbooleanOptionalNote: This feature is not available for users in `Hong Kong`, `Taiwan`, `India`, or `Japan`.
partial_paymentobject<partial_payment>Optionalminimum_amount_dueobject<money>Optionalcurrency_codestring<currency_code>RequiredvaluestringRequireddiscount_mode_preferenceenum<discount_mode_preference>Optionalthemeobject<configurable_theme>Optionaltemplate_idstringOptionalNote: This is an optional field. If you wish to customize the invoice layout using a specific template, provide a valid template ID here. You can either use an existing template ID or create a new template via the create template API and then use the newly created template's ID.
payment_method_overridesobject<override_payment_method_detail>[]OptionalNote: Payment method availability depends on the merchant's country, the buyer's country, and the invoice amount. Override configurations only take effect if the specified payment method is available for the invoice.
payment_method_typeenum<override_payment_method_type>OptionalNote: To usePAY_BY_BANK, you must first complete the onboarding process. Visit the onboarding page to get started. Once onboarding is complete, you can configurePAY_BY_BANKas a payment method.
rulesobject<override_payment_method_rule>[]Optionalrule_typeenum<override_payment_method_rule_type>RequiredSystem-defined threshold limits by payment method:
- PAY_BY_BANK - $1000