Documentation ¶
Overview ¶
Package snippets provides helpers to generate GOBL document snippets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BillInvoice ¶
type BillInvoice struct { // Key invoice header fields UUID uuid.UUID `json:"uuid,omitempty"` Type string `json:"type"` Series string `json:"series,omitempty"` Code string `json:"code"` Currency currency.Code `json:"currency"` IssueDate cal.Date `json:"issue_date"` Supplier *OrgParty `json:"supplier,omitempty"` Customer *OrgParty `json:"customer,omitempty"` Total *num.Amount `json:"total,omitempty"` Tax *num.Amount `json:"tax,omitempty"` TotalWithTax *num.Amount `json:"total_with_tax,omitempty"` Payable *num.Amount `json:"payable,omitempty"` PrecedingSeries string `json:"p_series,omitempty"` PrecedingCode string `json:"p_code,omitempty"` PrecedingUUID uuid.UUID `json:"p_uuid,omitempty"` }
BillInvoice contains the summary details of an invoice.
type NoteMessage ¶
NoteMessage contains the minimum snippet details of a message.
Click to show internal directories.
Click to hide internal directories.