invoice

package module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: MIT Imports: 0 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Kind     int16  // 0 专票 2 普票 11 货运 12 机动车
	Number   string // 发票号
	TypeCode string // 发票代码
}

type Invoice

type Invoice struct {
	ChangJia           string // 厂家 hx
	Kind               int16  // 0 专票 2 普票 11 货运 12 机动车
	SellerBankAccount  string // 销售方开户行账号
	SellerAddressPhone string // 销售方地址电话
	ClientTaxCode      string // 购买方税号
	ClientName         string // 购买方名称
	ClientAddressPhone string // 购买方地址电话
	ClientBankAccount  string // 购买方开户行账号
	Invoicer           string // 开票人
	Checker            string // 复核人
	Cashier            string // 收款人
	Notes              string // 发票备注
	Items              []InvoiceItem
}

type InvoiceItem

type InvoiceItem struct {
	TaxItem      string  // 税目
	Standard     string  // 规格型号
	Amount       float64 // 金额
	Number       float64 // 数量
	Price        float64 // 单价
	TaxRate      float64 // 税率
	PriceKind    int     // 含税标识
	Unit         string  // 单位
	GoodsName    string  // 商品名称
	GoodsNoVer   string  // 编码版本号
	GoodsTaxNo   string  // 税局分类编码
	TaxPre       string  // 是否享受税收优惠政策 0: 不享受 1 享受
	TaxPreCon    string  // 优惠政策内容 免税
	ZeroTax      string  // 零税率标识, 空:非零税率,1:免税 2:不征收 3 普通零税率
	CropGoodsNo  string  // 企业自编码
	TaxDeduction string  // 扣除额
}

发票行信息

type InvoiceStock added in v0.0.6

type InvoiceStock struct {
	Number   string      // 发票号
	TypeCode string      // 发票代码
	Stock    interface{} //
	TaxClock interface{}
}

发票库存

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL