Billing Request Invoice
Changed on提交开票申请。金额 = 所选订单之和,不接受任意金额——发票按订单绑定, 这正是「同一单开不出第二张票、余额永不为负」的来源。
落库即 pending,并立刻占住这些订单(可开票余额随之减少),否则同一批 订单可以被连着提交多次。管理员回填真实票号后转 issued;作废才会把 订单释放回可开票。
post/api/billing/invoicing/invoices
Request
- Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
- URL: https://api.omicos.cn/api/billing/invoicing/invoices
- Auth: none declared
Headers
authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable
Request body
Response
Successful Response
object required
Changes
- info
added the new optional
headerrequest parameterx-omicos-device - info
added the new optional
headerrequest parameterx-omicos-device-kind - info
added the new optional
headerrequest parameterx-omicos-device-name
- info