Skip to main content
inputCreateCalculateSalesOrderRequestInput

Fields

companyId
ID!
required

The unique identifier of the company for the sales order.

customerId
ID!
required

The unique identifier of the customer for whom the sales order is being calculated.

shippingMethodId
ID

The shipping method ID for shipping cost calculation and tax determination.

shopId
ID

The shop ID for shop-specific price calculation.

The billing address information for tax calculation.

The shipment address information for tax calculation.

The list of sales order line items to be calculated.

currencyIso
String

The ISO code of the currency for price calculation (e.g., EUR, USD). If not specified, the default currency will be used.

currencyFactor
Decimal

Manual override for the currency conversion factor. If set (greater than 0), overrides the default factor from the currency settings.

departureCountryIso
String!
required

The ISO code of the departure country for tax calculation.

departureCountryStateCode
String

The departure country state/region code for state-level tax calculation (e.g., US states like CA, NY).

extraWeight
Decimal

Additional weight in kg to add to the order for shipping cost calculation.

specialTaxTreatment

The tax special treatment mode for the sales order (e.g., ReverseCharge, TaxExempt).

taxReference

The tax reference of the sales order. This setting controls which data is used during tax calculation.