new Invoice())->Nuonuo()->Merchant()->querySpeedBilling($content)

参数 说明
content 内容

content 中的参数具体参考 诺诺开发文档

案例

  1. public function querySpeedBilling(){
  2. try {
  3. return json(self::createReturn(true,
  4. (new Invoice())->Nuonuo()->Merchant()->querySpeedBilling(json_encode(
  5. [
  6. 'extensionNum' => '', //分机号(没有分机可填0或不填
  7. ]
  8. ))
  9. ));
  10. } catch (\Exception $e) {
  11. return json(self::createReturn(false,[],$e->getMessage()));
  12. }
  13. }

返回结果

{
    "code": "S0000",
    "describe": "获取开票信息成功",
    "result": [{
        "adddate": "2017-11-20 15:59:05",
        "alipayuserid": "123456",
        "c_account_blank": "天目山路工商银行西湖支行",
        "c_bank_account": "62288888888888888",
        "c_kpaddr": "天目山路199号",
        "c_kpcode": "339901999999153",
        "c_kpname": "航信培训企业153",
        "c_kptel": "0571-88772232",
        "invoicetype": "1",
        "platType": "4",
        "remarks": "1",
        "sType": "2",
        "source": "0"
    }]
}