Closed blaggacao closed 5 years ago
A made a quick basis for discussion here: https://github.com/nubark/facturark/pull/14
Hi @blaggacao. I'd rather stay with the current API for a while (if not forever), as a modification would generate a great impact in all the composers. The current approach is based in several formats, to name a few:
The format in use doesn't support namespaces, but that is something facturark should be providing anyway. It however provides enough clarity and ease of parsing (specially for the attributes), without becoming too verbose. I think we should concentrate in other areas right now for the foregoing reasons.
Alright, sounds like a good plan. Didn't know of those resources...
I personally find an API like this:
not optimal, given that this is redundant information. Same goes for
Before stabilizing API would you accept to run a processor which infers those values from
document_currency_code
or otherwise contextual information (like legal money will always be "CO" or the Agency Scheme will always be the one of the DIAN)?