一、配置文件 (config/invoice.php;发票配置数据由开票平台提供,以下配置数据随机修改过不可用于测试<?php/**
* Created by PhpStorm.
* User: Jason
* Date: 2019/7/1
* Time: 10:16
*/
return [
'DSPTBM' => 'sdf11dfd1MsfdFWegesdfIK',
//'电商平台编码'
'NSRSBH' => '9670101000000090',
//'纳税人识别码'
'NSRMC' => 'XXX官方旗舰店',
//'纳税人名称',
'XHFMC' => 'XXX官方旗舰店',
//'销货方名称'
'XHF_DZ' => '上海市杨浦区控江路XXX号', //'销货方地址',
'XHF_DH' => '17621251***',
//'销货方电话',
'XHF_YHZH' => '',
//'销货方银行账号',
'KPY' => '财务一',
//'开票员',
'SKY' => '',
//'收款员(可选)',
'HSBZ' => '1',
'TERMINALCODE' => '0',
'APPID' => 'ZZS_PT_DZFP',
'TAXPAYWERID' => '9670101000000090',
//'税号',
'AUTHORIZATIONCODE' => '56301000000090',
//'授权码',
'ENCRYPTCODE' =>'2', //0:不加密 1: 3DES 加密 2:CA
'INTERFACE_FPKJ' => 'ECXML.FPKJ.BC.E_INV',
'INTERFACE_FPXZ' => 'ECXML.FPXZ.CX.E_INV',
'INTERFACE_FPYX' => 'ECXML.EMAILPHONEFPTS.TS.E.INV',
'REQUESTCODE' => 'sdf11dfd1MsfdFWegesdfIK',
//'请求码',
'RESPONSECODE' => '211',
//'响应码',
'PASSWORD' => '',
//'密码',
///'DATAEXCHANGEID' => '交互码',
'KJFP' => 'ECXML.FPKJ.BC.E_INV',
'DOWNLOAD' => 'ECXML.FPXZ.CX.E_INV',
'EMAIL' => 'ECXML.EMAILPHONEFPTS.TS.E.INV',
'REGISTERCODE' => '922588450019',
//'注册码',
];