diff --git a/schema/schema.go b/schema/schema.go index 4f478381..bd45e781 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -15,7 +15,7 @@ const ( // Version of the current version of the schema Version = "draft-0" // BaseURL is the base URL for all GOBL schemas - BaseURL = "https://gobl.org" + BaseURL = "https://gobl.org/" // GOBL stores the base schema ID for GOBL, including current schema version. GOBL ID = BaseURL + Version ) diff --git a/tax/totals.go b/tax/totals.go index 57e981e2..b2d7c151 100644 --- a/tax/totals.go +++ b/tax/totals.go @@ -64,8 +64,8 @@ func (ct *CategoryTotal) PreciseAmount() num.Amount { } // PreciseSum contains an intermediary sum generated from the calculator -// with the original precision. If Calculate was not called on the totals, such -// as when loading, the original sum will be provided instead. +// with the original precision. If no calculations were made on the totals, +// such as when loading, the original sum will be provided instead. func (t *Total) PreciseSum() num.Amount { if !t.sum.IsZero() { return t.sum