---
url: "https://pay.weixin.qq.com/doc/v3/partner/4016760559-curl.md"
title: "开具成品油行业电子发票-请求示例-curl"
doc_id: 4016760559
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/issue-refined-oil \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Wechatpay-Serial: 5157F09EFDC096DE15EBE81A47057A7232F1B8E1"  \
  -H "Content-Type: application/json" \
  -d '{
    "sub_mchid" : "1900000109",
    "fapiao_apply_id" : "4200000444201910177461284488",
    "buyer_information" : {
      "type" : "INDIVIDUAL",
      "name" : "深圳市南山区测试企业",
      "taxpayer_id" : "202003261233701778",
      "address" : "深圳市南山区深南大道10000号",
      "telephone" : "075512345678",
      "bank_name" : "测试银行",
      "bank_account" : "62001234567890",
      "phone" : "mI7HGEJ4Q2B91IGjHrl7FNN9QuFPDfzeXoaJM4B8ZghZPzXK+vNotEZu/Gthm87Szv0MK2AoC0/3ZMDgltMtdoY6O0qZ4F1iXiwCuqkkBe+9M4ggvdzpPGM+fyed2QU1seUGbii5RVVVB9s+zLEQ8nv74vsgl77MZx14nd5obtCcfAvPfDJob3oG7FqlThmYKJqjiOwBvvQse7p9R8onj/POzSrbM8re8ZYGp4LcehXopTLdk2ZVWRv8bnJgKZWArAcqMdahq4jY2UVYeY4vpMmq4xuRTYk6xNXvowBBKK2SX8SqM+jm1USyoBIazLu4oaNFNdBO3fip1a1rFW0vRw==",
      "email" : "NzJy3r0Z2u2Vs5l+WSH0A3CZ1oGlCZ66aa2wUlMXNmACbd4wU8LqqYCuTG4cYWxrVUSmviV59/Uy9vLdIwuHZVrMalYAZGtb8inWGhDj3wUqQnPkmBKBVGIWG5Y6XJmMvpXW6rIKsdzxs8NwWj30cRNfjanLxiWc0aIgl8Knwo0JcxlcYLo38T9ntsrRkQZMQEWHaMYnzjp7ysLbp6yW83OZb/NwEufERBdPnIbDbVE7DUd5MGhvO+tlr2YC1b4VCsrDmjryuTD5nvYYCGHyfXW2CM23hZdBm9tPc+mU18Z9d4XkasnfsecGWd2ISkpPmnk3DtapnD64Nw8JyLtkgw==",
      "amount" : 1000,
      "out_trade_no" : "order_20200701_123456",
      "fapiao_bill_type" : "COMM_FAPIAO",
      "user_apply_message" : "用户留言"
    },
    "fapiao_information" : {
      "fapiao_id" : "20200701123456",
      "total_amount" : 382895,
      "items" : [
        {
          "tax_code" : "1070101020100000000",
          "goods_name" : "*燃料油*燃料油",
          "specification" : "92#",
          "unit" : "TON",
          "quantity" : 100000000,
          "total_amount" : 429900,
          "tax_rate" : 1300,
          "discount" : false,
          "preferential_policy_code" : 1,
          "refined_oil_information" : {
            "station" : "中国石油(江北红旗河沟加油站)",
            "trade_time" : "2025-07-01T00:00:00+08:00",
            "gun_number" : "1号枪"
          }
        }
      ],
      "export_business_policy_code" : 1,
      "vat_refund_levy_code" : 1,
      "billing_person_id" : "187776276864872",
      "billing_person" : "**伟 0020",
      "fapiao_bill_type" : "COMM_FAPIAO",
      "transaction_information" : [
        {
          "pay_channel" : "WECHAT_PAY",
          "transaction_id" : "4200000008202508080512076713",
          "out_trade_no" : "order_20200701_123456",
          "amount" : 382895
        }
      ],
      "remark" : "备注"
    }
  }'

```
