Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dreoliv
Created August 4, 2013 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreoliv/6151462 to your computer and use it in GitHub Desktop.
Save dreoliv/6151462 to your computer and use it in GitHub Desktop.
Retorno ISSIntel
"bank_code"=>nil,
"barcode_data"=>"81600000000590012342013081000000000000003332",
"city_hall_id"=>29,
"created_at"=>"2013-07-23T10:08:05-03:00",
"da_fees_cents"=>0,
"delta"=>false,
"discount_cents"=>0,
"document_number"=>3332,
"emission_date"=>"2013-07-23",
"expiration_date"=>"2013-08-10",
"fine_value_cents"=>0,
"fiscal_action"=>false,
"id"=>6429,
"imported"=>nil,
"incidence"=>"2013-07-01",
"installment_number"=>nil,
"institution_id"=>nil,
"interest_value_cents"=>0,
"internal"=>false,
"iss_value_cents"=>5000,
"monetary_adjustment_cents"=>0,
"original_document_number"=>nil,
"other_information"=>
"Recolhimento por Código de Serviço:\nR$ 50,00 (1.01).",
"paid_at"=>nil,
"paid_by"=>nil,
"payment_date"=>"2013-08-10",
"payment_method"=>nil,
"payment_notes"=>nil,
"provider_value_cents"=>5000,
"providers_count"=>1,
"receiver_value_cents"=>0,
"receivers_count"=>0,
"return_file_id"=>nil,
"search_context"=>"city_hall",
"search_digest"=>"G 201300000003332 Julho/2013 Pendente Guia Avulsa",
"service_order_id"=>nil,
"specific_discount_cents"=>0,
"standalone"=>true,
"status"=>"pending",
"stub_type"=>1,
"tax_credit_value_cents"=>0,
"taxpayer_id"=>2295,
"total_value_cents"=>5900,
"transaction_fee_cents"=>900,
"transaction_token"=>nil,
"updated_at"=>"2013-07-23T10:08:05-03:00",
"yearly_payment_id"=>nil}
=> #<UnicoAPI::Resources::ISSIntel::Underwriting:0x007fe95aac76a0
@attributes=
{"balance_value_cents"=>0,
"base_value_cents"=>0,
"city_hall_id"=>29,
"counterparty_cpf_cnpj"=>nil,
"counterparty_official_name"=>nil,
"counterparty_taxpayer_id"=>nil,
"counterparty_underwriting_id"=>nil,
"cpf_cnpj"=>"06358323644",
"created_at"=>"2013-06-03T08:43:46-03:00",
"debtor"=>false,
"deduction_value_cents"=>0,
"delta"=>false,
"display_date"=>"2012-03-01",
"divergence_level"=>nil,
"divergence_value_cents"=>nil,
"doc_type"=>nil,
"foreign_provider"=>false,
"id"=>3312393,
"imported"=>false,
"incidence"=>"2012-03-01",
"iss_value_cents"=>0,
"lc116_id"=>nil,
"movement"=>false,
"nfe_id"=>nil,
"number"=>nil,
"pa_number"=>nil,
"provider"=>true,
"rate"=>nil,
"search_context"=>"city_hall",
"search_digest"=>
"RPS Prestado Cancelada 01/03/2012 Sem movimentação Escrituração",
"series"=>nil,
"service_date"=>"2012-03-01",
"service_order_id"=>nil,
"standalone_nfe"=>false,
"state"=>"cancelled",
"status"=>nil,
"stub_id"=>nil,
"stub_status"=>nil,
"taxpayer_id"=>34302,
"underwriting_type"=>"no_movement",
"unique_digest"=>nil,
"unread_from_city_hall"=>false,
"unread_from_taxpayer"=>false,
"updated_at"=>"2013-07-23T10:21:17-03:00",
"value_cents"=>nil,
"voucher_verified"=>false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment