feat(shipment): 添加采购单价和退税率字段
- 在 CustomsProductItem 结构中添加了 PurchasePrice 和 MinusTaxRate 字段- PurchasePrice 表示采购单价,用于记录商品的采购成本- MinusTaxRate 表示退税率,用于计算出口退税金额
This commit is contained in:
parent
81f9d4d416
commit
ee7f3e6211
@ -11,33 +11,35 @@ type ReplyCustoms struct {
|
||||
}
|
||||
|
||||
type CustomsProductItem struct {
|
||||
Index int `json:"index" label:"序号"` // 序号
|
||||
Serial string `json:"serial" label:"货号"` // 货号
|
||||
CustomsName string `json:"customsName" label:"中文报关名称"` // 中文报关名称
|
||||
ShipmentCount int64 `json:"shipmentCount" label:"出运数量"` // 出运数量
|
||||
SalePrice decimal.Decimal `json:"salePrice" label:"销售单价"` // 销售单价
|
||||
SaleAmount decimal.Decimal `json:"saleAmount" label:"销售金额"` // 销售金额
|
||||
CustomsPrice decimal.Decimal `json:"customsPrice" label:"报关单价"` // 报关单价
|
||||
CustomsAmount decimal.Decimal `json:"customsAmount" label:"报关金额"` // 报关金额
|
||||
AdjustAmount decimal.Decimal `json:"adjustAmount" label:"调整金额"` // 调整金额
|
||||
RealCustomsPrice decimal.Decimal `json:"realCustomsPrice" label:"真实报关单价"` // 真实报关单价
|
||||
RealCustomsAmount decimal.Decimal `json:"realCustomsAmount" label:"真实报关金额"` // 真实报关金额
|
||||
Name string `json:"name" label:"中文品名"` // 中文品名
|
||||
EngName string `json:"engName" label:"英文品名"` // 英文品名
|
||||
CustomsSerial string `json:"customsSerial" label:"海关编码"` // 海关编码
|
||||
CustomsMeasureUnit string `json:"customsMeasureUnit" label:"报关单位"` // 报关单位
|
||||
CustomsInvoiceUnit string `json:"customsInvoiceUnit" label:"开票单位"` // 开票单位
|
||||
CustomsDetail string `json:"customsDetail" label:"申报要素"` // 申报要素
|
||||
ShipmentCountUnit string `json:"shipmentCountUnit" label:"数量单位"` // 数量单位
|
||||
OuterBoxCount int64 `json:"outerBoxCount" label:"箱数"` // 箱数
|
||||
TotalVolume decimal.Decimal `json:"totalVolume" label:"总体积"` // 总体积
|
||||
TotalGrossWeight decimal.Decimal `json:"totalGrossWeight" label:"总毛重"` // 总毛重
|
||||
TotalNetWeight decimal.Decimal `json:"totalNetWeight" label:"总净重"` // 总净重
|
||||
DomesticSupply string `json:"domesticSupply" label:"境内货源地"` // 境内货源地
|
||||
TaxExemption string `json:"taxExemption" label:"征免"` // 征免
|
||||
ContainerNumber string `json:"containerNumber" label:"箱号"` // 箱号
|
||||
SealNumber string `json:"sealNumber" label:"封号"` // 封号
|
||||
Remark string `json:"remark" label:"备注"` // 备注
|
||||
ShipmentProductId int64 `json:"shipmentProductId" label:"产品id"` // 产品id
|
||||
ShipmentGiftId int64 `json:"shipmentGiftId" label:"赠品id"` // 赠品id
|
||||
Index int `json:"index" label:"序号"` // 序号
|
||||
Serial string `json:"serial" label:"货号"` // 货号
|
||||
CustomsName string `json:"customsName" label:"中文报关名称"` // 中文报关名称
|
||||
ShipmentCount int64 `json:"shipmentCount" label:"出运数量"` // 出运数量
|
||||
SalePrice decimal.Decimal `json:"salePrice" label:"销售单价"` // 销售单价
|
||||
SaleAmount decimal.Decimal `json:"saleAmount" label:"销售金额"` // 销售金额
|
||||
CustomsPrice decimal.Decimal `json:"customsPrice" label:"报关单价"` // 报关单价
|
||||
CustomsAmount decimal.Decimal `json:"customsAmount" label:"报关金额"` // 报关金额
|
||||
AdjustAmount decimal.Decimal `json:"adjustAmount" label:"调整金额"` // 调整金额
|
||||
RealCustomsPrice decimal.Decimal `json:"realCustomsPrice" label:"真实报关单价"` // 真实报关单价
|
||||
RealCustomsAmount decimal.Decimal `json:"realCustomsAmount" label:"真实报关金额"` // 真实报关金额
|
||||
Name string `json:"name" label:"中文品名"` // 中文品名
|
||||
EngName string `json:"engName" label:"英文品名"` // 英文品名
|
||||
CustomsSerial string `json:"customsSerial" label:"海关编码"` // 海关编码
|
||||
CustomsMeasureUnit string `json:"customsMeasureUnit" label:"报关单位"` // 报关单位
|
||||
CustomsInvoiceUnit string `json:"customsInvoiceUnit" label:"开票单位"` // 开票单位
|
||||
CustomsDetail string `json:"customsDetail" label:"申报要素"` // 申报要素
|
||||
ShipmentCountUnit string `json:"shipmentCountUnit" label:"数量单位"` // 数量单位
|
||||
OuterBoxCount int64 `json:"outerBoxCount" label:"箱数"` // 箱数
|
||||
TotalVolume decimal.Decimal `json:"totalVolume" label:"总体积"` // 总体积
|
||||
TotalGrossWeight decimal.Decimal `json:"totalGrossWeight" label:"总毛重"` // 总毛重
|
||||
TotalNetWeight decimal.Decimal `json:"totalNetWeight" label:"总净重"` // 总净重
|
||||
DomesticSupply string `json:"domesticSupply" label:"境内货源地"` // 境内货源地
|
||||
TaxExemption string `json:"taxExemption" label:"征免"` // 征免
|
||||
ContainerNumber string `json:"containerNumber" label:"箱号"` // 箱号
|
||||
SealNumber string `json:"sealNumber" label:"封号"` // 封号
|
||||
Remark string `json:"remark" label:"备注"` // 备注
|
||||
ShipmentProductId int64 `json:"shipmentProductId" label:"产品id"` // 产品id
|
||||
ShipmentGiftId int64 `json:"shipmentGiftId" label:"赠品id"` // 赠品id
|
||||
PurchasePrice decimal.Decimal `json:"purchasePrice" label:"采购单价"` // 采购单价
|
||||
MinusTaxRate *decimal.Decimal `json:"minusTaxRate" label:"退税率"` // 退税率
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user