@sumup/sdk
    Preparing search index...

    Type Alias PositiveTaxLine

    PositiveTaxLine: TaxLine & {
        gross_amount?: number;
        net_amount?: number;
        tax_amount?: number;
    }

    Tax line with positive amounts only. 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 The numbers here can't be negative.

    Type Declaration

    • Optionalgross_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

      Min: 0

    • Optionalnet_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

      Min: 0

    • Optionaltax_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

      Min: 0