Module: EInvoiceAPI::Models::DocumentCreate::Item::Amount
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/e_invoice_api/models/document_create.rb,
sig/e_invoice_api/models/document_create.rbs
Overview
The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level allowances and charges. Calculated as: ((unit_price / price_base_quantity) * quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be negative for credit notes or corrections.
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#self?.variants ⇒ ::Array[EInvoiceAPI::Models::DocumentCreate::Item::amount]
1136 |
# File 'sig/e_invoice_api/models/document_create.rbs', line 1136
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::amount]
|