Sha256: d647e0a1432154e837551b086cf24643de2a39132ed147e0dc4dd79d426721d6
Contents?: true
Size: 785 Bytes
Versions: 4
Compression:
Stored size: 785 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require_relative 'edi_information' require_relative 'email_information' require_relative 'invoice_row' module Fortnox module API module Mapper class Invoice < Fortnox::API::Mapper::Base KEY_MAP = { administration_fee_vat: 'AdministrationFeeVAT', edi_information: 'EDIInformation', eu_quarterly_report: 'EUQuarterlyReport', freight_vat: 'FreightVAT', housework: 'HouseWork', ocr: 'OCR', total_vat: 'TotalVAT', vat_included: 'VATIncluded' }.freeze JSON_ENTITY_WRAPPER = 'Invoice' JSON_COLLECTION_WRAPPER = 'Invoices' end Registry.register(Invoice.canonical_name_sym, Invoice) end end end
Version data entries
4 entries across 4 versions & 1 rubygems