Class: Nfe::Generated::ServiceInvoiceRtcV1::NFSeRequest
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ServiceInvoiceRtcV1::NFSeRequest
- Defined in:
- lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb,
sig/nfe/generated/service_invoice_rtc_v1/nfse_request.rbs
Instance Attribute Summary collapse
-
#accrual_on ⇒ Object
readonly
Returns the value of attribute accrual_on.
-
#activity_event ⇒ Object
readonly
Returns the value of attribute activity_event.
-
#additional_information ⇒ Object
readonly
Returns the value of attribute additional_information.
-
#additional_information_group ⇒ Object
readonly
Returns the value of attribute additional_information_group.
-
#approximate_tax ⇒ Object
readonly
Returns the value of attribute approximate_tax.
-
#approximate_totals ⇒ Object
readonly
Returns the value of attribute approximate_totals.
-
#benefit ⇒ Object
readonly
Returns the value of attribute benefit.
-
#borrower ⇒ Object
readonly
Returns the value of attribute borrower.
-
#city_service_code ⇒ Object
readonly
Returns the value of attribute city_service_code.
-
#cnae_code ⇒ Object
readonly
Returns the value of attribute cnae_code.
-
#cofins_amount ⇒ Object
readonly
Returns the value of attribute cofins_amount.
-
#cofins_amount_withheld ⇒ Object
readonly
Returns the value of attribute cofins_amount_withheld.
-
#cofins_rate ⇒ Object
readonly
Returns the value of attribute cofins_rate.
-
#construction ⇒ Object
readonly
Returns the value of attribute construction.
-
#csll_amount ⇒ Object
readonly
Returns the value of attribute csll_amount.
-
#csll_amount_withheld ⇒ Object
readonly
Returns the value of attribute csll_amount_withheld.
-
#csll_rate ⇒ Object
readonly
Returns the value of attribute csll_rate.
-
#cst_pis_cofins ⇒ Object
readonly
Returns the value of attribute cst_pis_cofins.
-
#deduction ⇒ Object
readonly
Returns the value of attribute deduction.
-
#deductions_amount ⇒ Object
readonly
Returns the value of attribute deductions_amount.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#discount_conditioned_amount ⇒ Object
readonly
Returns the value of attribute discount_conditioned_amount.
-
#discount_unconditioned_amount ⇒ Object
readonly
Returns the value of attribute discount_unconditioned_amount.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#federal_service_code ⇒ Object
readonly
Returns the value of attribute federal_service_code.
-
#foreign_trade ⇒ Object
readonly
Returns the value of attribute foreign_trade.
-
#ibs_cbs ⇒ Object
readonly
Returns the value of attribute ibs_cbs.
-
#immunity_type ⇒ Object
readonly
Returns the value of attribute immunity_type.
-
#inss_amount_withheld ⇒ Object
readonly
Returns the value of attribute inss_amount_withheld.
-
#intermediary ⇒ Object
readonly
Returns the value of attribute intermediary.
-
#ipi_amount ⇒ Object
readonly
Returns the value of attribute ipi_amount.
-
#ipi_rate ⇒ Object
readonly
Returns the value of attribute ipi_rate.
-
#ir_amount_withheld ⇒ Object
readonly
Returns the value of attribute ir_amount_withheld.
-
#is_early_installment_payment ⇒ Object
readonly
Returns the value of attribute is_early_installment_payment.
-
#iss_amount_withheld ⇒ Object
readonly
Returns the value of attribute iss_amount_withheld.
-
#iss_rate ⇒ Object
readonly
Returns the value of attribute iss_rate.
-
#iss_tax_amount ⇒ Object
readonly
Returns the value of attribute iss_tax_amount.
-
#issued_on ⇒ Object
readonly
Returns the value of attribute issued_on.
-
#lease ⇒ Object
readonly
Returns the value of attribute lease.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#nbs_code ⇒ Object
readonly
Returns the value of attribute nbs_code.
-
#ncm_code ⇒ Object
readonly
Returns the value of attribute ncm_code.
-
#others_amount_withheld ⇒ Object
readonly
Returns the value of attribute others_amount_withheld.
-
#paid_amount ⇒ Object
readonly
Returns the value of attribute paid_amount.
-
#pis_amount ⇒ Object
readonly
Returns the value of attribute pis_amount.
-
#pis_amount_withheld ⇒ Object
readonly
Returns the value of attribute pis_amount_withheld.
-
#pis_cofins_base_tax ⇒ Object
readonly
Returns the value of attribute pis_cofins_base_tax.
-
#pis_rate ⇒ Object
readonly
Returns the value of attribute pis_rate.
-
#real_estate ⇒ Object
readonly
Returns the value of attribute real_estate.
-
#recipient ⇒ Object
readonly
Returns the value of attribute recipient.
-
#reference_substitution ⇒ Object
readonly
Returns the value of attribute reference_substitution.
-
#retention_type ⇒ Object
readonly
Returns the value of attribute retention_type.
-
#rps_number ⇒ Object
readonly
Returns the value of attribute rps_number.
-
#rps_serial_number ⇒ Object
readonly
Returns the value of attribute rps_serial_number.
-
#service_amount_details ⇒ Object
readonly
Returns the value of attribute service_amount_details.
-
#services_amount ⇒ Object
readonly
Returns the value of attribute services_amount.
-
#suspension ⇒ Object
readonly
Returns the value of attribute suspension.
-
#taxation_type ⇒ Object
readonly
Returns the value of attribute taxation_type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ NFSeRequest
constructor
A new instance of NFSeRequest.
Constructor Details
#initialize ⇒ NFSeRequest
Returns a new instance of NFSeRequest.
68 |
# File 'sig/nfe/generated/service_invoice_rtc_v1/nfse_request.rbs', line 68
def initialize: (?reference_substitution: ReferenceSubstitution, ?accrual_on: String, ?activity_event: ActivityEvent, ?additional_information: String, ?additional_information_group: Hash[String, untyped], ?approximate_tax: ApproximateTax, ?approximate_totals: ApproximateTotals, ?benefit: Benefit, ?borrower: PartyDefinition, city_service_code: String, ?cnae_code: String, ?cofins_amount: Float, ?cofins_amount_withheld: Float, ?cofins_rate: Float, ?construction: Construction, ?csll_amount: Float, ?csll_amount_withheld: Float, ?csll_rate: Float, ?cst_pis_cofins: String, ?deduction: Deduction, ?deductions_amount: Float, description: String, ?discount_conditioned_amount: Float, ?discount_unconditioned_amount: Float, ?external_id: String, ?federal_service_code: String, ?foreign_trade: ForeignTrade, ?ibs_cbs: IbsCbs, ?immunity_type: String, ?inss_amount_withheld: Float, ?intermediary: PartyDefinition, ?ipi_amount: Float, ?ipi_rate: Float, ?ir_amount_withheld: Float, ?is_early_installment_payment: bool, ?iss_amount_withheld: Float, ?iss_rate: Float, ?iss_tax_amount: Float, ?issued_on: String, ?lease: Lease, ?location: AddressDefinition, nbs_code: String, ?ncm_code: String, ?others_amount_withheld: Float, ?paid_amount: Float, ?pis_amount: Float, ?pis_amount_withheld: Float, ?pis_cofins_base_tax: Float, ?pis_rate: Float, ?real_estate: RealEstate, ?recipient: PartyDefinition, ?retention_type: String, ?rps_number: Float, ?rps_serial_number: String, ?service_amount_details: ServiceAmountDefinitions, services_amount: Float, ?suspension: Suspension, ?taxation_type: String) -> void
|
Instance Attribute Details
#accrual_on ⇒ Object (readonly)
Returns the value of attribute accrual_on
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def accrual_on @accrual_on end |
#activity_event ⇒ Object (readonly)
Returns the value of attribute activity_event
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def activity_event @activity_event end |
#additional_information ⇒ Object (readonly)
Returns the value of attribute additional_information
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def additional_information @additional_information end |
#additional_information_group ⇒ Object (readonly)
Returns the value of attribute additional_information_group
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def additional_information_group @additional_information_group end |
#approximate_tax ⇒ Object (readonly)
Returns the value of attribute approximate_tax
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def approximate_tax @approximate_tax end |
#approximate_totals ⇒ Object (readonly)
Returns the value of attribute approximate_totals
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def approximate_totals @approximate_totals end |
#benefit ⇒ Object (readonly)
Returns the value of attribute benefit
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def benefit @benefit end |
#borrower ⇒ Object (readonly)
Returns the value of attribute borrower
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def borrower @borrower end |
#city_service_code ⇒ Object (readonly)
Returns the value of attribute city_service_code
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def city_service_code @city_service_code end |
#cnae_code ⇒ Object (readonly)
Returns the value of attribute cnae_code
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def cnae_code @cnae_code end |
#cofins_amount ⇒ Object (readonly)
Returns the value of attribute cofins_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def cofins_amount @cofins_amount end |
#cofins_amount_withheld ⇒ Object (readonly)
Returns the value of attribute cofins_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def cofins_amount_withheld @cofins_amount_withheld end |
#cofins_rate ⇒ Object (readonly)
Returns the value of attribute cofins_rate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def cofins_rate @cofins_rate end |
#construction ⇒ Object (readonly)
Returns the value of attribute construction
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def construction @construction end |
#csll_amount ⇒ Object (readonly)
Returns the value of attribute csll_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def csll_amount @csll_amount end |
#csll_amount_withheld ⇒ Object (readonly)
Returns the value of attribute csll_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def csll_amount_withheld @csll_amount_withheld end |
#csll_rate ⇒ Object (readonly)
Returns the value of attribute csll_rate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def csll_rate @csll_rate end |
#cst_pis_cofins ⇒ Object (readonly)
Returns the value of attribute cst_pis_cofins
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def cst_pis_cofins @cst_pis_cofins end |
#deduction ⇒ Object (readonly)
Returns the value of attribute deduction
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def deduction @deduction end |
#deductions_amount ⇒ Object (readonly)
Returns the value of attribute deductions_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def deductions_amount @deductions_amount end |
#description ⇒ Object (readonly)
Returns the value of attribute description
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def description @description end |
#discount_conditioned_amount ⇒ Object (readonly)
Returns the value of attribute discount_conditioned_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def discount_conditioned_amount @discount_conditioned_amount end |
#discount_unconditioned_amount ⇒ Object (readonly)
Returns the value of attribute discount_unconditioned_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def discount_unconditioned_amount @discount_unconditioned_amount end |
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def external_id @external_id end |
#federal_service_code ⇒ Object (readonly)
Returns the value of attribute federal_service_code
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def federal_service_code @federal_service_code end |
#foreign_trade ⇒ Object (readonly)
Returns the value of attribute foreign_trade
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def foreign_trade @foreign_trade end |
#ibs_cbs ⇒ Object (readonly)
Returns the value of attribute ibs_cbs
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def ibs_cbs @ibs_cbs end |
#immunity_type ⇒ Object (readonly)
Returns the value of attribute immunity_type
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def immunity_type @immunity_type end |
#inss_amount_withheld ⇒ Object (readonly)
Returns the value of attribute inss_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def inss_amount_withheld @inss_amount_withheld end |
#intermediary ⇒ Object (readonly)
Returns the value of attribute intermediary
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def intermediary @intermediary end |
#ipi_amount ⇒ Object (readonly)
Returns the value of attribute ipi_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def ipi_amount @ipi_amount end |
#ipi_rate ⇒ Object (readonly)
Returns the value of attribute ipi_rate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def ipi_rate @ipi_rate end |
#ir_amount_withheld ⇒ Object (readonly)
Returns the value of attribute ir_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def ir_amount_withheld @ir_amount_withheld end |
#is_early_installment_payment ⇒ Object (readonly)
Returns the value of attribute is_early_installment_payment
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def is_early_installment_payment @is_early_installment_payment end |
#iss_amount_withheld ⇒ Object (readonly)
Returns the value of attribute iss_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def iss_amount_withheld @iss_amount_withheld end |
#iss_rate ⇒ Object (readonly)
Returns the value of attribute iss_rate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def iss_rate @iss_rate end |
#iss_tax_amount ⇒ Object (readonly)
Returns the value of attribute iss_tax_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def iss_tax_amount @iss_tax_amount end |
#issued_on ⇒ Object (readonly)
Returns the value of attribute issued_on
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def issued_on @issued_on end |
#lease ⇒ Object (readonly)
Returns the value of attribute lease
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def lease @lease end |
#location ⇒ Object (readonly)
Returns the value of attribute location
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def location @location end |
#nbs_code ⇒ Object (readonly)
Returns the value of attribute nbs_code
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def nbs_code @nbs_code end |
#ncm_code ⇒ Object (readonly)
Returns the value of attribute ncm_code
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def ncm_code @ncm_code end |
#others_amount_withheld ⇒ Object (readonly)
Returns the value of attribute others_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def others_amount_withheld @others_amount_withheld end |
#paid_amount ⇒ Object (readonly)
Returns the value of attribute paid_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def paid_amount @paid_amount end |
#pis_amount ⇒ Object (readonly)
Returns the value of attribute pis_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def pis_amount @pis_amount end |
#pis_amount_withheld ⇒ Object (readonly)
Returns the value of attribute pis_amount_withheld
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def pis_amount_withheld @pis_amount_withheld end |
#pis_cofins_base_tax ⇒ Object (readonly)
Returns the value of attribute pis_cofins_base_tax
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def pis_cofins_base_tax @pis_cofins_base_tax end |
#pis_rate ⇒ Object (readonly)
Returns the value of attribute pis_rate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def pis_rate @pis_rate end |
#real_estate ⇒ Object (readonly)
Returns the value of attribute real_estate
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def real_estate @real_estate end |
#recipient ⇒ Object (readonly)
Returns the value of attribute recipient
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def recipient @recipient end |
#reference_substitution ⇒ Object (readonly)
Returns the value of attribute reference_substitution
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def reference_substitution @reference_substitution end |
#retention_type ⇒ Object (readonly)
Returns the value of attribute retention_type
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def retention_type @retention_type end |
#rps_number ⇒ Object (readonly)
Returns the value of attribute rps_number
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def rps_number @rps_number end |
#rps_serial_number ⇒ Object (readonly)
Returns the value of attribute rps_serial_number
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def rps_serial_number @rps_serial_number end |
#service_amount_details ⇒ Object (readonly)
Returns the value of attribute service_amount_details
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def service_amount_details @service_amount_details end |
#services_amount ⇒ Object (readonly)
Returns the value of attribute services_amount
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def services_amount @services_amount end |
#suspension ⇒ Object (readonly)
Returns the value of attribute suspension
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def suspension @suspension end |
#taxation_type ⇒ Object (readonly)
Returns the value of attribute taxation_type
9 10 11 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 9 def taxation_type @taxation_type end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/nfe/generated/service_invoice_rtc_v1/nfse_request.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( reference_substitution: ReferenceSubstitution.from_api(payload["ReferenceSubstitution"]), accrual_on: payload["accrualOn"], activity_event: ActivityEvent.from_api(payload["activityEvent"]), additional_information: payload["additionalInformation"], additional_information_group: payload["additionalInformationGroup"], approximate_tax: ApproximateTax.from_api(payload["approximateTax"]), approximate_totals: ApproximateTotals.from_api(payload["approximateTotals"]), benefit: Benefit.from_api(payload["benefit"]), borrower: PartyDefinition.from_api(payload["borrower"]), city_service_code: payload["cityServiceCode"], cnae_code: payload["cnaeCode"], cofins_amount: payload["cofinsAmount"], cofins_amount_withheld: payload["cofinsAmountWithheld"], cofins_rate: payload["cofinsRate"], construction: Construction.from_api(payload["construction"]), csll_amount: payload["csllAmount"], csll_amount_withheld: payload["csllAmountWithheld"], csll_rate: payload["csllRate"], cst_pis_cofins: payload["cstPisCofins"], deduction: Deduction.from_api(payload["deduction"]), deductions_amount: payload["deductionsAmount"], description: payload["description"], discount_conditioned_amount: payload["discountConditionedAmount"], discount_unconditioned_amount: payload["discountUnconditionedAmount"], external_id: payload["externalId"], federal_service_code: payload["federalServiceCode"], foreign_trade: ForeignTrade.from_api(payload["foreignTrade"]), ibs_cbs: IbsCbs.from_api(payload["ibsCbs"]), immunity_type: payload["immunityType"], inss_amount_withheld: payload["inssAmountWithheld"], intermediary: PartyDefinition.from_api(payload["intermediary"]), ipi_amount: payload["ipiAmount"], ipi_rate: payload["ipiRate"], ir_amount_withheld: payload["irAmountWithheld"], is_early_installment_payment: payload["isEarlyInstallmentPayment"], iss_amount_withheld: payload["issAmountWithheld"], iss_rate: payload["issRate"], iss_tax_amount: payload["issTaxAmount"], issued_on: payload["issuedOn"], lease: Lease.from_api(payload["lease"]), location: AddressDefinition.from_api(payload["location"]), nbs_code: payload["nbsCode"], ncm_code: payload["ncmCode"], others_amount_withheld: payload["othersAmountWithheld"], paid_amount: payload["paidAmount"], pis_amount: payload["pisAmount"], pis_amount_withheld: payload["pisAmountWithheld"], pis_cofins_base_tax: payload["pisCofinsBaseTax"], pis_rate: payload["pisRate"], real_estate: RealEstate.from_api(payload["realEstate"]), recipient: PartyDefinition.from_api(payload["recipient"]), retention_type: payload["retentionType"], rps_number: payload["rpsNumber"], rps_serial_number: payload["rpsSerialNumber"], service_amount_details: ServiceAmountDefinitions.from_api(payload["serviceAmountDetails"]), services_amount: payload["servicesAmount"], suspension: Suspension.from_api(payload["suspension"]), taxation_type: payload["taxationType"], ) end |
.new ⇒ instance
67 |
# File 'sig/nfe/generated/service_invoice_rtc_v1/nfse_request.rbs', line 67
def self.new: (?reference_substitution: ReferenceSubstitution, ?accrual_on: String, ?activity_event: ActivityEvent, ?additional_information: String, ?additional_information_group: Hash[String, untyped], ?approximate_tax: ApproximateTax, ?approximate_totals: ApproximateTotals, ?benefit: Benefit, ?borrower: PartyDefinition, city_service_code: String, ?cnae_code: String, ?cofins_amount: Float, ?cofins_amount_withheld: Float, ?cofins_rate: Float, ?construction: Construction, ?csll_amount: Float, ?csll_amount_withheld: Float, ?csll_rate: Float, ?cst_pis_cofins: String, ?deduction: Deduction, ?deductions_amount: Float, description: String, ?discount_conditioned_amount: Float, ?discount_unconditioned_amount: Float, ?external_id: String, ?federal_service_code: String, ?foreign_trade: ForeignTrade, ?ibs_cbs: IbsCbs, ?immunity_type: String, ?inss_amount_withheld: Float, ?intermediary: PartyDefinition, ?ipi_amount: Float, ?ipi_rate: Float, ?ir_amount_withheld: Float, ?is_early_installment_payment: bool, ?iss_amount_withheld: Float, ?iss_rate: Float, ?iss_tax_amount: Float, ?issued_on: String, ?lease: Lease, ?location: AddressDefinition, nbs_code: String, ?ncm_code: String, ?others_amount_withheld: Float, ?paid_amount: Float, ?pis_amount: Float, ?pis_amount_withheld: Float, ?pis_cofins_base_tax: Float, ?pis_rate: Float, ?real_estate: RealEstate, ?recipient: PartyDefinition, ?retention_type: String, ?rps_number: Float, ?rps_serial_number: String, ?service_amount_details: ServiceAmountDefinitions, services_amount: Float, ?suspension: Suspension, ?taxation_type: String) -> instance
|