Skip to content

GoodsTaxLine ​

Type: schema

Description ​

Goods value and tax at one applicable rate, including qualifying mixed supplies.

TypeScript Definition ​

typescript
GoodsTaxLine: {{
            quantity: string;
            /** @example 18.00 */
            rate: string;
            /** @example 900.00 */
            taxable_value: string;
            /** @example 162.00 */
            tax: string;
        };
        /**
         * InvoiceState
         * @description A sales invoice for a shipment, or for an order's digital items: one Commerce Engine generates (`invoice_source` `default`, `invoice.*` events) or one issued by the seller (`seller`, `external_invoice.*` events): by the seller, their ERP, or a seller store.
         */
}

OpenAPI Schema ​

json
{
  "title": "GoodsTaxLine",
  "description": "Goods value and tax at one applicable rate, including qualifying mixed supplies.",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/GoodsTaxLine",
    "description": "API reference for the GoodsTaxLine schema"
  },
  "required": [
    "quantity",
    "rate",
    "taxable_value",
    "tax"
  ],
  "properties": {
    "quantity": {
      "type": "string"
    },
    "rate": {
      "type": "string",
      "example": "18.00"
    },
    "taxable_value": {
      "type": "string",
      "example": "900.00"
    },
    "tax": {
      "type": "string",
      "example": "162.00"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: