---
title: "GET /v1/console/invoices/{id}"
method: GET
path: "/v1/console/invoices/{id}"
tags: ["InvoiceService"]
---

# GET /v1/console/invoices/{id}

`GET /v1/console/invoices/{id}`

GetInvoice 发票详情（1-3-4）

## Path parameters

- `id` string, required

## Response `200`

OK

- InvoiceV1InvoiceReply
  - `invoice` InvoiceV1Invoice — Invoice 发票申请单（C 端视图，抬头/金额为申请时快照）。
    - `address` string — address 注册地址（快照）
    - `amountMicros` string — amount_micros 票面金额（micros）
    - `appliedAt` string, date-time — ----- 时间 -----
    - `bankAccount` string
    - `bankName` string
    - `cancelledAt` string, date-time
    - `courierCompany` string
    - `courierNo` string
    - `createdAt` string, date-time
    - `currency` string
    - `fileFormat` string — file_format 版式文件格式：pdf | ofd（下载走 GetInvoiceDownloadURL，不直传 key）
    - `hasRedFile` boolean — has_red_file 红冲后是否存在可供用户下载的红字版式件。
    - `hasXml` boolean — has_xml 是否存在数电票 XML 数据文件（决定详情页是否并列 XML 下载入口，§六）
    - `id` string
    - `invoiceNo` string — ----- 开具/文件 ----- invoice_no 发票号码（issued 后有值）
    - `issuedAt` string, date-time
    - `mailingAddress` string
    - `phone` string — phone 注册电话（快照）
    - `receiverEmail` string — ----- 交付 -----
    - `receiverName` string
    - `receiverPhone` string
    - `redFileFormat` string — red_file_format 红字版式格式：pdf | ofd。
    - `redInvoiceNo` string — red_invoice_no 红字发票号码（reversed 时有值）
    - `reissueOf` string — reissue_of 换开来源原票 id（0=非换开票）
    - `rejectReason` string — ----- 审计/换开 ----- reject_reason 驳回原因（rejected 时有值）
    - `remark` string
    - `reversalReason` string — reversal_reason 红冲原因（reversed 时有值）
    - `reversedAt` string, date-time
    - `reviewedAt` string, date-time
    - `sourceType` string — source_type 来源：topup=充值 period=周期
    - `status` string — status 状态：pending/approved/issuing/issued/rejected/cancelled/reversing/reversed
    - `taxNo` string
    - `title` string
    - `titleType` string — ----- 抬头快照 -----
    - `type` string — type 票种：electronic_general | electronic_special | paper_special
  - `orders` InvoiceV1InvoiceOrderLine[] — orders 本票关联的充值订单明细（供用户核对开的是哪几笔充值）。 仅 GetInvoice 详情填充；ApplyInvoice/CancelInvoice/RequestReissue 等写操作回执为空。
    - `amountMicros` string — amount_micros 订单金额（micros）
    - `currency` string
    - `orderId` string — order_id 充值订单 id
    - `paidAt` string, date-time
    - `tradeNo` string — trade_no 交易流水号

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
