django-afip
django-afip copied to clipboard
DocumentType should have code as natural key
AFIP has changed the description of this, so when re-fetching metadata, one ends up with two different DocumentTypes that have the same code (code 99).
code should probably be the natural key for this table, and metadata updates should just overwrite.