-
Notifications
You must be signed in to change notification settings - Fork 482
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
Standard Field names? #311
Comments
Thanks for contributing some templates! You can check out the tutorial or look at existing templates in this repo. We don't really have style rules for now, but if you're interested, this would be a valuable contribution as well. Also note the recent commit by @rmilecki, which adds a more expressive YAML syntax and the option to add new parsers. |
Ok, I will try to get some example working the very next week. Should I do it in Markdown as a simple readme, does it need an extra branch? I'd try to work the field names from the existing templates and expand that with explanation or fields that might be necessary from a german bookkeeping aspect etc. |
Personally I would make a new branch in my own fork while working on any new pull request. After it's done, we'll merge this feature branch into the master branch of the main repo. Some of the field names are relatively "standard" and I'd keep them. You'll find them in other templates. For new fields, just choose any name that makes sense. |
I'm all for documenting some standard field names! I tried starting discussion on field name for VAT summary lines in the #309 but it was somehow missed. I noticed e.g. a lot of existing templates use |
i have done some research in the meantime and wondered if it was reasonable to adjust names with existing electronic invoice standards as Zugferd? |
Following some existing standard would be great. Is there anything more international than Zugferd? Let me post a merge request which what I already got queued while working on the #309. |
Zugferd is mainly about how the invoice metadata is embedded. The actual data structure is specified in CII or UBL. For field names either one could be used. See here: https://invoice-x.github.io/standards/ |
Thanks @m3nu! It seems there is UE directive 2014/55/UE also called "eInvoicing Directive". Resources on eInvoicing: https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/eInvoicing . It indeed specifies CCI and UBL as supported syntaxes: https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/Required+syntaxes I think standards are described in documented called EN 16931 but I'm failing to find actual documentation. I found some Polish example of UBI formatted invoice and it looks as follows:
After a quick look at that example I'm not so sure if we want to follow such a standard strictly at all. How would that look like?
|
@m3nu Thank you for the clarification on the embedding / document standards. @rmilecki I was less thinking in creating fully valid documents, my idea was more to take the naming of the fields and look into optional fields. My idea is that this could allow to streamline further processing when e-invoicing becomes more standard. Looking into the posted example I actually prefer issue_date or document_currency_code though its names might cause longer code: its specific! But I actually leave that up to you, so either way I go for the existing vars and sum them up, or try to find equivalents? I could also transition that, so end up in defining a 1.0 with the roadmap to get to EN 16931 in 2.0? I hope I dont make this too complicated, I am just thinking things through on my mind. |
@Seriousness: OK, I like the idea of getting some ideas from UBL for field names where it makes sense. Without being too strict about it. I'm afraid some names may not be well applicable. Using @Seriousness: can you take a look at #313 and comment on it? |
I've seen and answered there. Up to now, this is the best overview with description I could find on UBL: https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/tree/ - as spoken on the other, I am not sure if the ubl names are really fitting the everyday workflow or just blow things up. |
I'm all for standard field names. However, we need to consider compatibility to not break implementations. |
I am using invoice2data for streamlining my invoice management and automatizing my books.
Thus I'd like to have other ppl some benefits from adding several invoice issuers and push these to this repo. Before I do that, I would like to ask if there has been set up any description of the fields you'd like to see besides the necessary items.
The text was updated successfully, but these errors were encountered: