跳到主要内容

Invoice(发票表)

NameTypeRelation WithDescription
nameText(short text)姓名或公司名称(必填)
cidText(short text)(公司)纳税人识别号(公司必填)
addressText(short text)公司地址
bankNameText(short text)银行名称
bankAccountText(short text)公司账户
telephoneText(short text)电话
emailText(short text)接收邮箱
invoiceTypeEnumeration发票类型(必填):pupiao | zhuanpiao
amountNumber(float)开票金额
invoiceStatusEnumeration状态:pending | resolve | reject
linkText(long text)下载地址
userRelationUser

注意:由于 Invoice Title 表中的条目可以修改、删除,因此 Invoice 表不便于通过 Relation 字段关联 Invoice Title 表,并且发票开具之后就不可再变更了,因此只要记录发票的 title 即可。

Invoice Title(发票抬头表)

NameTypeRelation WithDescription
typeEnumeration抬头类型(必填):person | company
nameText(short text)姓名或公司名称(必填)
cidText(short text)(公司)纳税人识别号(公司必填)
addressText(short text)公司地址
bankNameText(short text)银行名称
bankAccountText(short text)公司账户
telephoneText(short text)电话
emailText(short text)接收邮箱
invoiceTypeEnumeration发票类型(必填):pupiao | zhuanpiao
userRelationUser
isDefaultBoolean是否为默认