您好!我在使用接口"开具电子发票"时报错," NO_AUTH, 商户无权限访问,请确认是否已开通相关权限",实际上我检查了公众号和商户平台的电子发票功能都已经开通的。请您帮我排查一下是什么原因,以下是接口调用详情:
请求URL:https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications
请求参数:
{"scene":"WITH_WECHATPAY","fapiao_apply_id":"F_202301291028051674959285_6328","buyer_information":{"type":"INDIVIDUAL","name":"\u8881\u654f"},"fapiao_information":[{"fapiao_id":"20230101123456","total_amount":60,"items":[{"tax_code":"6010000000000000000","quantity":1,"total_amount":60,"discount":false}]}]}
返回结果:{"code":"NO_AUTH","message":"商户无权限访问,请确认是否已开通相关权限"}
这里是要求的商户后台的电子发票产品权限,如果是以前开通的权限,需要关闭后重新开通,另外开具区块链电子发票当前只支持深圳