Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RCT ¶
type RCT struct { XMLName xml.Name `xml:"RCT"` Text string `xml:",chardata"` DATE string `xml:"DATE"` TIME string `xml:"TIME"` TIN string `xml:"TIN"` REGID string `xml:"REGID"` EFDSERIAL string `xml:"EFDSERIAL"` CUSTIDTYPE int64 `xml:"CUSTIDTYPE"` CUSTID string `xml:"CUSTID"` CUSTNAME string `xml:"CUSTNAME"` MOBILENUM string `xml:"MOBILENUM"` RCTNUM string `xml:"RCTNUM"` DC int64 `xml:"DC"` GC int64 `xml:"GC"` ZNUM string `xml:"ZNUM"` RCTVNUM string `xml:"RCTVNUM"` ITEMS ITEMS `xml:"ITEMS"` TOTALS TOTALS `xml:"TOTALS"` PAYMENTS PAYMENTS `xml:"PAYMENTS"` VATTOTALS VATTOTALS `xml:"VATTOTALS"` }
type RCTACK ¶
type RCTACK struct { XMLName xml.Name `xml:"RCTACK"` Text string `xml:",chardata"` RCTNUM int64 `xml:"RCTNUM"` DATE string `xml:"DATE"` TIME string `xml:"TIME"` ACKCODE int64 `xml:"ACKCODE"` ACKMSG string `xml:"ACKMSG"` }
RCTACK is the receipt acknowledge received from vfd server after successfully receipt upload request
type RCTACKEFDMS ¶
type REGDATAEFDMS ¶
type REGDATARESP ¶
type REGDATARESP struct { XMLName xml.Name `xml:"EFDMSRESP"` Text string `xml:",chardata"` ACKCODE string `xml:"ACKCODE"` ACKMSG string `xml:"ACKMSG"` REGID string `xml:"REGID"` SERIAL string `xml:"SERIAL"` UIN string `xml:"UIN"` TIN string `xml:"TIN"` VRN string `xml:"VRN"` MOBILE string `xml:"MOBILE"` ADDRESS string `xml:"ADDRESS"` STREET string `xml:"STREET"` CITY string `xml:"CITY"` COUNTRY string `xml:"COUNTRY"` NAME string `xml:"NAME"` RECEIPTCODE string `xml:"RECEIPTCODE"` REGION string `xml:"REGION"` ROUTINGKEY string `xml:"ROUTINGKEY"` GC int64 `xml:"GC"` TAXOFFICE string `xml:"TAXOFFICE"` USERNAME string `xml:"USERNAME"` PASSWORD string `xml:"PASSWORD"` TOKENPATH string `xml:"TOKENPATH"` TAXCODES TAXCODES `xml:"TAXCODES"` }
REGDATARESP is the response message received from the VFD after a successful registration.
type REGRESPACK ¶
type REGRESPACK struct { XMLName xml.Name `xml:"EFDMS"` Text string `xml:",chardata"` EFDMSRESP REGDATARESP `xml:"EFDMSRESP"` EFDMSSIGNATURE string `xml:"EFDMSSIGNATURE"` }
type REPORTTOTALS ¶
type REPORTTOTALS struct { XMLName xml.Name `xml:"TOTALS"` Text string `xml:",chardata"` DAILYTOTALAMOUNT float64 `xml:"DAILYTOTALAMOUNT"` GROSS float64 `xml:"GROSS"` CORRECTIONS float64 `xml:"CORRECTIONS"` DISCOUNTS float64 `xml:"DISCOUNTS"` SURCHARGES float64 `xml:"SURCHARGES"` TICKETSVOID int64 `xml:"TICKETSVOID"` TICKETSVOIDTOTAL float64 `xml:"TICKETSVOIDTOTAL"` TICKETSFISCAL int64 `xml:"TICKETSFISCAL"` TICKETSNONFISCAL int64 `xml:"TICKETSNONFISCAL"` }
type ReportAckEFDMS ¶
type ZACK ¶
type ZACK struct { XMLName xml.Name `xml:"ZACK"` Text string `xml:",chardata"` ZNUMBER int64 `xml:"ZNUMBER"` DATE string `xml:"DATE"` TIME string `xml:"TIME"` ACKCODE int64 `xml:"ACKCODE"` ACKMSG string `xml:"ACKMSG"` }
ZACK is the Z report acknowledge received from vfd server after successfully Z report upload request
type ZREPORT ¶
type ZREPORT struct { XMLName xml.Name `xml:"ZREPORT"` Text string `xml:",chardata"` DATE string `xml:"DATE"` TIME string `xml:"TIME"` HEADER struct { Text string `xml:",chardata"` LINE []string `xml:"LINE"` } `xml:"HEADER"` VRN string `xml:"VRN"` TIN string `xml:"TIN"` TAXOFFICE string `xml:"TAXOFFICE"` REGID string `xml:"REGID"` ZNUMBER string `xml:"ZNUMBER"` EFDSERIAL string `xml:"EFDSERIAL"` REGISTRATIONDATE string `xml:"REGISTRATIONDATE"` USER string `xml:"USER"` SIMIMSI string `xml:"SIMIMSI"` TOTALS REPORTTOTALS `xml:"TOTALS"` VATTOTALS VATTOTALS `xml:"VATTOTALS"` PAYMENTS PAYMENTS `xml:"PAYMENTS"` CHANGES struct { Text string `xml:",chardata"` VATCHANGENUM string `xml:"VATCHANGENUM"` HEADCHANGENUM string `xml:"HEADCHANGENUM"` } `xml:"CHANGES"` ERRORS string `xml:"ERRORS"` FWVERSION string `xml:"FWVERSION"` FWCHECKSUM string `xml:"FWCHECKSUM"` }
Click to show internal directories.
Click to hide internal directories.