├── template ├── sign.png ├── qrcode.png └── 电子发票.svg ├── document ├── 增值税发票系统升级版与电子发票对接技术方案.pdf ├── shanghai │ ├── 上海市增值税电子普通发票申请书.pdf │ ├── 长宁区税务局增值税电子普通发票推行工作方案.doc │ ├── 上海市增值税电子普通发票 企业端业务规范(暂行).pdf │ └── Aisino │ │ └── 联系方式.md ├── 增值税发票系统升级版与电子发票系统数据接口规范.pdf ├── 关于发布增值税发票系统升级版与电子发票系统数据接口规范的公告与政策解读.pdf └── 关于推行通过增值税电子发票系统开具的增值税电子普通发票有关问题的公告(含附件一、附件二).pdf ├── .gitignore └── README.md /template/sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/template/sign.png -------------------------------------------------------------------------------- /template/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/template/qrcode.png -------------------------------------------------------------------------------- /document/增值税发票系统升级版与电子发票对接技术方案.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/增值税发票系统升级版与电子发票对接技术方案.pdf -------------------------------------------------------------------------------- /document/shanghai/上海市增值税电子普通发票申请书.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/shanghai/上海市增值税电子普通发票申请书.pdf -------------------------------------------------------------------------------- /document/增值税发票系统升级版与电子发票系统数据接口规范.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/增值税发票系统升级版与电子发票系统数据接口规范.pdf -------------------------------------------------------------------------------- /document/shanghai/长宁区税务局增值税电子普通发票推行工作方案.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/shanghai/长宁区税务局增值税电子普通发票推行工作方案.doc -------------------------------------------------------------------------------- /document/shanghai/上海市增值税电子普通发票 企业端业务规范(暂行).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/shanghai/上海市增值税电子普通发票 企业端业务规范(暂行).pdf -------------------------------------------------------------------------------- /document/关于发布增值税发票系统升级版与电子发票系统数据接口规范的公告与政策解读.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/关于发布增值税发票系统升级版与电子发票系统数据接口规范的公告与政策解读.pdf -------------------------------------------------------------------------------- /document/关于推行通过增值税电子发票系统开具的增值税电子普通发票有关问题的公告(含附件一、附件二).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alcoholwang/e-invoicing/HEAD/document/关于推行通过增值税电子发票系统开具的增值税电子普通发票有关问题的公告(含附件一、附件二).pdf -------------------------------------------------------------------------------- /document/shanghai/Aisino/联系方式.md: -------------------------------------------------------------------------------- 1 | 上海爱信诺航天信息有限公司 电子发票平台 2 | 3 | 客服电话:021-962366 4 | 5 | 咨询电话:021-54266487 6 | 7 | 8 | 税务局专管电子发票事宜 9 | 王老师 10 | 222208183 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### OSX ### 2 | *.DS_Store 3 | .AppleDouble 4 | .LSOverride 5 | 6 | # Thumbnails 7 | ._* 8 | 9 | # Files that might appear in the root of a volume 10 | .DocumentRevisions-V100 11 | .fseventsd 12 | .Spotlight-V100 13 | .TemporaryItems 14 | .Trashes 15 | .VolumeIcon.icns 16 | .com.apple.timemachine.donotpresent 17 | 18 | # Directories potentially created on remote AFP share 19 | .AppleDB 20 | .AppleDesktop 21 | Network Trash Folder 22 | Temporary Items 23 | .apdisk 24 | 25 | 26 | ### Windows ### 27 | # Windows image file caches 28 | Thumbs.db 29 | ehthumbs.db 30 | 31 | # Folder config file 32 | Desktop.ini 33 | 34 | # Recycle Bin used on file shares 35 | $RECYCLE.BIN/ 36 | 37 | # Windows shortcuts 38 | *.lnk 39 | 40 | 41 | ### Linux ### 42 | *~ 43 | 44 | # temporary files which can be created if a process still has a handle open of a deleted file 45 | .fuse_hidden* 46 | 47 | # KDE directory preferences 48 | .directory 49 | 50 | # Linux trash folder which might appear on any partition or disk 51 | .Trash-* 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 上海电子发票申请过程 2 | 3 | ## 2017年06月07日 4 | 5 | 1. 到长宁区税务局提交了[申请表](document/shanghai/上海市增值税电子普通发票申请书.pdf) 和 [附表一](document/shanghai/长宁区税务局增值税电子普通发票推行工作方案.doc) 6 | 2. 联系了爱信诺航天信息,客服电话是 `021-962366`,后来转到专门电子发票的咨询电话 `021-54266487`,工作人员问了一些公司情况和开票需求,给了一份[API文档](document/shanghai/Aisino/上海电子发票分平台API规范V1.41.pdf) 7 | 3. 看了爱信诺航天的文档,又打电话沟通了一次,询问到价格信息,CA证书 500元,服务器租赁 4500元/年,平台管理费 3000元/年/3万张发票以内 8 | 9 | 10 | ## 2017年06月 11 | 12 | 仔细看了文档,感觉金税盘就能直接开具电子发票。 13 | 1. 根据订单信息和开票信息生成xml文件 14 | 2. 打开开票软件,开具电子发票,导入或者放到指定的轮询目录,开具电子发票 15 | 3. 开具完后会生成结果xml,将订单信息、开票信息和结果xml生成pdf文件 16 | 4. 使用CA电子签名(这一步还不确定,从手头拿到过的星巴克、京东、淘宝的发票都没签章) 17 | 5. 上传到网站 或者发送电子邮件给客户 18 | 19 | 20 | ## 2017年05月 21 | 22 | 公司可能有电子发票的需求,随后收集网上资料,放在 document 目录里了,其中比较重要的是[《增值税发票系统升级版与电子发票系统数据接口规范》](document/增值税发票系统升级版与电子发票系统数据接口规范.pdf) 23 | 24 | * 关于发布增值税发票系统升级版与电子发票系统数据接口规范的公告与政策解读.pdf 25 | * 关于推行通过增值税电子发票系统开具的增值税电子普通发票有关问题的公告(含附件一、附件二).pdf 26 | * 增值税发票系统升级版与电子发票对接技术方案.pdf 27 | * 增值税发票系统升级版与电子发票系统数据接口规范.pdf 28 | * 上海市增值税电子普通发票 企业端业务规范(暂行).pdf 29 | * 长宁区税务局增值税电子普通发票推行工作方案.doc 30 | 31 | 32 | -------------------------------------------------------------------------------- /template/电子发票.svg: -------------------------------------------------------------------------------- 1 | 2 | 电子发票 3 | 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 | 026>**>-46*+*-5<09>7422457// 65 | */-192+1<>64*61<-*55>-*1/355 66 | ><6>**>-46*+*-5<09332719/800 67 | 1315544<<101>12932280-1251*+ 68 | 69 | 70 | 项目名称123 71 | 1122200.00 72 | 16% 73 | 122222200.00 74 | 75 | 76 | 项目名称 77 | 212.00 78 | 16% 79 | 342.00 80 | 81 | 82 | 项目名称 83 | 1.00 84 | 126% 85 | 213.00 86 | 87 | 88 | 项目名称 89 | 123.00 90 | 6% 91 | 1234.00 92 | 93 | 94 | 项目名称 95 | 12345.00 96 | 16% 97 | 122222200.00 98 | 99 | ¥ 1122.00 100 | ¥ 22.00 101 | 价税合计大写 102 | 33.00 103 | 104 | 105 | 销售方名称 106 | 销售方纳税人识别号 107 | 销售方地址电话 108 | 销售方开户行及账号 109 | 110 | 111 | 备注行1 112 | 备注行2 113 | 备注行3备注行3备注行3备注行3备注行3备注 114 | 115 | 收款人 116 | 复核 117 | 开票人 118 | 119 | 120 | --------------------------------------------------------------------------------