v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Sales Order Tax Line Item

Create a tax line item on a sales order

post/api/sales-orders/{salesOrderId}/tax-line-items

Path parameters

salesOrderIdstring required

Request body

descriptionstring nullable

Verbose description for this entity.

taxCodeIdstring nullable

Tax code key identifier. Please reference /api/tax-rates endpoint. If FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.AvalaraOptions is provided, FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxCodeId will be ignored.

taxRatenumber double nullable

Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxRate will supercede the defined tax rate.

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this line item.

Response

Tax line item added to sales order

idstring required

The id of the created record