@sumup/sdk
    Preparing search index...

    Type Alias TaxLine

    Information about tax together with amounts before and after its application such as:

    • net amount: taxable net amount, scoped by this tax
    • gross amount: amount after applying the tax.
    type TaxLine = {
        gross_amount: number;
        id: string;
        name?: string;
        net_amount: number;
        percentage?: number;
        tax_amount: number;
    }
    Index
    gross_amount: number

    Gross amount after applying the tax. The value of the amount in minor units of the currency according to the Sale.currency.scale.

    The value of the amount in minor units of the currency according to the Sale.currency.scale. value can get large for some currencies and applications. Use Long type or a similar data type when parsing value.

    Format: int64

    id: string

    Tax ID from the Tax Service (External Id)

    Max length: 100

    name?: string

    Tax name, e.g. "MwSt."

    Max length: 255

    net_amount: number

    Net amount before applying the tax. The value of the amount in minor units of the currency according to the Sale.currency.scale.

    The value of the amount in minor units of the currency according to the Sale.currency.scale. value can get large for some currencies and applications. Use Long type or a similar data type when parsing value.

    Format: int64

    percentage?: number

    The tax rate percentage in minor units (1/100000). For example 19000 = 19%.

    Format: int64

    Min: 0

    tax_amount: number

    Amount of tax. The value of the amount in minor units of the currency according to the Sale.currency.scale.

    The value of the amount in minor units of the currency according to the Sale.currency.scale. value can get large for some currencies and applications. Use Long type or a similar data type when parsing value.

    Format: int64