-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addenda Mabe generation #18
Conversation
// MabeMoneda carries the data about the invoice's currency | ||
type MabeMoneda struct { | ||
TipoMoneda string `xml:"tipoMoneda,attr"` | ||
TipoCambio string `xml:"tipoCambio,attr,omitempty"` // Not implemented yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left this one out of scope for the moment, as we need to add support for multiple currencies to the CFDI itself first and I didn't want to keep delaying things any further. Happy to implement it right after if we think it's worth the time of doing it now.
type MabeMoneda struct { | ||
TipoMoneda string `xml:"tipoMoneda,attr"` | ||
TipoCambio string `xml:"tipoCambio,attr,omitempty"` // Not implemented yet | ||
ImporteConLetra string `xml:"importeConLetra,attr,omitempty"` // Not implemented yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left this one out of scope because it's an optional field that I don't think adds any value.
PrecioConIva string `xml:"precioConIva,attr,omitempty"` // Not implemented yet | ||
ImporteConIva string `xml:"importeConIva,attr,omitempty"` // Not implemented yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left these two fields out of scope because they're optional and I don't think they add any value
Superseded by #19 |
go.mod
andgo.sum
when the new GOBL version is released)