Skip to content

InvoiceItem ​

Type: schema

Description ​

InvoiceItem model

TypeScript Definition ​

typescript
InvoiceItem: {{
            sku?: string;
            product_name?: string;
            product_image_url?: string | null;
            listing_price?: number;
            selling_price?: number;
            /** @description Quantity invoiced. Sent as a numeric string, not a number. */
            qty?: string;
            /** @description Quantity supplied free of charge. Sent as a numeric string, not a number. */
            free_qty?: string;
            tax_type?: string;
            tax_rate?: number;
            hsncode?: string;
            batch_no?: string | null;
            expiry?: string | null;
            amount?: number;
            coupon_discount_amount?: number;
            promotion_discount_amount?: number;
            selling_price_excluding_tax?: number;
            item_name?: string | null;
            order_item_id?: string;
        };
        /** SKU */
}

OpenAPI Schema ​

json
{
  "description": "InvoiceItem model",
  "type": "object",
  "properties": {
    "sku": {
      "type": "string"
    },
    "product_name": {
      "type": "string"
    },
    "product_image_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "listing_price": {
      "type": "number"
    },
    "selling_price": {
      "type": "number"
    },
    "qty": {
      "description": "Quantity invoiced. Sent as a numeric string, not a number.",
      "type": "string"
    },
    "free_qty": {
      "description": "Quantity supplied free of charge. Sent as a numeric string, not a number.",
      "type": "string"
    },
    "tax_type": {
      "type": "string"
    },
    "tax_rate": {
      "type": "number"
    },
    "hsncode": {
      "type": "string"
    },
    "batch_no": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiry": {
      "type": [
        "string",
        "null"
      ]
    },
    "amount": {
      "type": "number"
    },
    "coupon_discount_amount": {
      "type": "number"
    },
    "promotion_discount_amount": {
      "type": "number"
    },
    "selling_price_excluding_tax": {
      "type": "number"
    },
    "item_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "order_item_id": {
      "type": "string"
    }
  },
  "title": "InvoiceItem",
  "x-tags": [
    "Shipping"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: