Skip to main content

ShippingTaxPreviewInput

A shipping charge to work out the tax on, the way a new document would.

input ShippingTaxPreviewInput {
currency: String!
exchangeRate: Float
shippingAmount: Float!
taxCalculationMethod: String
}

Fields​

ShippingTaxPreviewInput.currency ● String! non-null scalar​

The document currency code, e.g. ZAR.

ShippingTaxPreviewInput.exchangeRate ● Float scalar​

The document's exchange rate, when it has one.

ShippingTaxPreviewInput.shippingAmount ● Float! non-null scalar​

The shipping charge, in the document currency.

ShippingTaxPreviewInput.taxCalculationMethod ● String scalar​

EXCLUSIVE (the default) or INCLUSIVE. An inclusive document's shipping is already gross, so it carries no extra tax.

Member Of​

shippingTaxPreview query