pub struct UpdateInvoiceAutomaticTax {
pub enabled: bool,
pub liability: Option<UpdateInvoiceAutomaticTaxLiability>,
}
Expand description
Settings for automatic tax lookup for this invoice.
Fields§
§enabled: bool
Whether Stripe automatically computes tax on this invoice.
Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or tax_behavior=unspecified
) cannot be added to automatic tax invoices.
liability: Option<UpdateInvoiceAutomaticTaxLiability>
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.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInvoiceAutomaticTax
impl Clone for UpdateInvoiceAutomaticTax
Source§fn clone(&self) -> UpdateInvoiceAutomaticTax
fn clone(&self) -> UpdateInvoiceAutomaticTax
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateInvoiceAutomaticTax
impl Debug for UpdateInvoiceAutomaticTax
Auto Trait Implementations§
impl Freeze for UpdateInvoiceAutomaticTax
impl RefUnwindSafe for UpdateInvoiceAutomaticTax
impl Send for UpdateInvoiceAutomaticTax
impl Sync for UpdateInvoiceAutomaticTax
impl Unpin for UpdateInvoiceAutomaticTax
impl UnwindSafe for UpdateInvoiceAutomaticTax
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more