Discover Packages
github.com/Ullaakut/auto-invoice
pkg
invoice
package
Version:
v0.0.0-...-52ba237
Opens a new window with list of versions in this module.
Published: May 3, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
Country string `yaml:"country"`
State string `yaml:"state"`
City string `yaml:"city"`
PostalCode string `yaml:"postal_code"`
Street string `yaml:"street"`
HouseNumber string `yaml:"house_number"`
}
type Bank struct {
Name string `yaml:"name"`
BIC string `yaml:"bic"`
IBAN string `yaml:"iban"`
SWIFT string `yaml:"swift"`
}
type Client struct {
Company Company `yaml:"company"`
MaxPaymentDelay string `yaml:"max_payment_delay"`
}
type Company struct {
Name string `yaml:"name"`
Address Address `yaml:"address"`
TaxNumber string `yaml:"tax_number"`
VATNumber string `yaml:"vat_number"`
Bank Bank `yaml:"bank"`
}
type Config struct {
Client Client `yaml:"client"`
Self Self `yaml:"self"`
TemplatePath string `yaml:"template_path"`
Year int
Month int
}
type Self struct {
Company Company `yaml:"company"`
Service Service `yaml:"service"`
}
type Service struct {
Name string `yaml:"name"`
Currency string `yaml:"currency"`
PerHour int `yaml:"per_hour"`
PerMonth int `yaml:"per_month"`
}
type TemplateData struct {
Client Client `json:"client"`
Self Self `json:"self"`
WorkHours workhours .Report `json:"work_hours"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.