| Crates.io | npchk |
| lib.rs | npchk |
| version | 0.1.4 |
| created_at | 2018-01-13 15:38:38.095505+00 |
| updated_at | 2018-04-25 16:11:33.933+00 |
| description | The services of the Federal tax service for Rust |
| homepage | https://github.com/andreevlex/npchk-rs |
| repository | https://github.com/andreevlex/npchk-rs |
| max_upload_size | |
| id | 46664 |
| size | 33,474 |
Library to check the status of contractors through service http://npchk.nalog.ru/.
extern crate npchk;
extern crate chrono;
extern crate npchk;
use npchk::*;
use chrono::prelude::*;
fn main() {
let mut partners: Vec<Partner> = vec![];
partners.push(Partner::new("4205036750", "420501001", Utc::now()));
partners.push(Partner::new("6648185610", "662301001", Utc::now()));
match check_fns(partners) {
Ok(rsp) => println!("{:?}", rsp),
Err(e) => println!("Error {:?}", e),
}
}
Библиотека для проверки статуса контрагентов через сервис http://npchk.nalog.ru/.
extern crate npchk;
extern crate chrono;
extern crate npchk;
use npchk::*;
use chrono::prelude::*;
fn main() {
let mut partners: Vec<Partner> = vec![];
partners.push(Partner::new("4205036750", "420501001", Utc::now()));
partners.push(Partner::new("6648185610", "662301001", Utc::now()));
match check_fns(partners) {
Ok(rsp) => println!("{:?}", rsp),
Err(e) => println!("Error {:?}", e),
}
}