Documentation
¶
Index ¶
Constants ¶
View Source
const ( LevelWarn = slog.LevelWarn LevelInfo = slog.LevelInfo LevelDebug = slog.LevelDebug LevelTrace = slog.LevelDebug - 4 LevelSecret = slog.LevelDebug - 8 )
Variables ¶
This section is empty.
Functions ¶
func JSON400ToString ¶
func JSON400ToString(errorResponse *ksefapi.ExceptionResponse) string
Types ¶
type Client ¶
type Invoice ¶
type Invoice struct {
GrossAmount float64 `json:"gross_amount"`
NetAmount float64 `json:"net_amount"`
InvoiceNumber string `json:"invoice_number"`
KsefNumber string `json:"ksef_number"`
PermanentStorageDate time.Time `json:"permanent_storage_date"`
SellerNIP string `json:"seller_nip"`
SellerName string `json:"seller_name"`
}
type InvoicePage ¶
type InvoiceQuery ¶
type InvoiceQuery struct {
From time.Time
To time.Time
SubjectType SubjectType
}
type SubjectType ¶
type SubjectType string
const ( Subject1 SubjectType = "Subject1" Subject2 SubjectType = "Subject2" Subject3 SubjectType = "Subject3" SubjectAuthorized SubjectType = "SubjectAuthorized" )
Click to show internal directories.
Click to hide internal directories.