Type Alias: TaxDetail
@arolariu/website / types/invoices/Payment / TaxDetail
Type Alias: TaxDetail
TaxDetail =
object
Defined in: types/invoices/Payment.ts:148
Represents a single tax line item extracted from a receipt.
Remarks
Receipts may contain multiple tax lines (e.g., VAT, sales tax).
Extracted from Document Intelligence v4.0 TaxDetails field.
Example
const taxDetail: TaxDetail = {
amount: 25.12,
rate: 19,
netAmount: 132.38,
description: "VAT 19%"
};
Properties
amount
amount:
number
Defined in: types/invoices/Payment.ts:150
The tax amount for this line.
rate
rate:
number
Defined in: types/invoices/Payment.ts:152
The tax rate as a percentage (e.g., 19 for 19% VAT).
netAmount
netAmount:
number
Defined in: types/invoices/Payment.ts:154
The net amount before this tax was applied.
description
description:
string
Defined in: types/invoices/Payment.ts:156
Description of the tax type (e.g., "VAT", "Sales Tax").
// was this page useful?