Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorPeriodAlreadyClosed = errors.New("period already closed") ErrorInvoiceNotPaid = errors.New("invoice not paid") )
View Source
var ( ErrorTxDateOutOfRange = errors.New("transaction date out of range") ErrorTxNoAccounts = errors.New("transaction must have at least one account") )
View Source
var (
CannotUpdateTxAtClosedPeriod = errors.New("cannot update transaction at closed period")
)
View Source
var (
ErrCannotDeleteTxAtClosedPeriod = errors.New("cannot delete transaction at closed period")
)
View Source
var (
ErrorCannotUpdateCurrencyInAccount = errors.New("cannot update currency in account")
)
View Source
var (
ErrorCannotUpdateInvoiceAtClosedPeriod = errors.New("cannot update invoice at closed period")
)
Functions ¶
This section is empty.
Types ¶
type ContactImage ¶
type ContactImage struct { Content io.ReadSeeker Name string Size int64 ContentType string }
type ContactQRCode ¶
type ContactQRCode struct { Image ContactImage BankName string }
type CreateAccountParams ¶
type CreateContactRequest ¶
type CreateContactRequest struct { Name string `json:"name"` Text string `json:"text"` QRCodes []ContactQRCode `json:"qr_codes"` }
type CreateInvoiceRequest ¶
type CreateTxRequest ¶
type UpdateContactRequest ¶
type UpdateInvoiceRequest ¶
Click to show internal directories.
Click to hide internal directories.