So our first talk is, hopefully, Europe's way to mandatory B2B E invoices, and our presenter
is Yoke and Stark.
Thank you.
Hello.
And today we will talk about how Europe is reintroducing border controls, but not for goods
or people, but for invoices.
We have three parts.
The part of what the U did, then a little bit the open source answer to it.
And then we have a question answer.
My name is Yoke and Stark.
I call myself Mustang Project.
Chief Tupet Amateur, Mustang Project is my open source project, and it started as support
for the German, now Fanko, German, and Tupet, Sash Factory Extended, in the meantime, we
do everything.
The topic is actually quite recent.
We had business to government invoices from 2014 on, and they were supposed to be introduced.
And interestingly, in 2019, Italy said, we also do B2B.
And we have a CTC, so continuous transaction control, and we bring up our own format,
because then we have some Italian text in there.
And they saved 3% of their value at a Texas, which is just billions.
And that was maybe one of the reasons why France decided to follow.
And they are using the standards, which we were used from B2G, so B2G is based on something
called EN6901, which has an XML format, it has CII and UBL.
And France is a five-corner CTC with based on UBL and TII.
And France and Germany, additionally, allow Factorics, which is this two-patsing.
A CTC is basically a way to submit your invoices to the authorities.
And in a machine readable way, so that basically the authorities want to cross-check whether
the invoices, which the recipients claim to have received, are the same, that the
standards claim to have sent, because we have that fraud.
So we have different ways, this convert, basically the only way where you could still have
a Peta invoice in this graph is where you have a line between the two people immediately.
We have Italy, Italy did the second from the right, the centralized search, so everybody
is sending to the authorities and receiving from the authorities only.
And France is doing something rather in the very right singing, where you also have,
where you can have service providers in between.
Germany is actually not yet true.
Also Europe is not yet completely sure, but it's very likely to go also in this right part.
So basically you have to submit your invoices to your local country invoice server.
And then you have to, you can pull invoices.
In Europe this will be for, it will be mandatory for cross-border invoices, B2B.
So if I send an invoice to another country, in Germany it's also now since 1st of
January mandatory to be able to receive these kind of invoices in domestic transfer.
So, and the EU is, the EU has a vet in the digital age initiative, short Vida, which
is draft for a guideline and this draft has now been approved, so it now goes to the parliament
to only has a vet too.
And it's likely to, that this will actually go through, actually I'm not a lawyer and I'm not
to text advice.
I was a bit shocked to be in the legal and compliance room, but it is a legal change which
leads to compliance thing is.
And as mentioned, we have this EU in 1691, which was originally based on business standards
but a little bit to the administrative side.
And yeah, and then there was Vida and then the country said, okay, apparently we have
to introduce a system for the cross-border invoices.
So we already introduced a domestic system where we have Romania was very quick.
Germany started on 1st January 25 with the obligation to read those invoices.
And we have the obligation to write those invoices will be in 2027, 2020, I'll show that later.
And Belgium is starting in January 26 and Poland will come afterwards and maybe many others.
The details for the German stuff is basically, yeah, we're replacing paper invoices and
invoices in the PDF format with XML invoices and invoices with PDF with embedded XML.
So that PDF with embedded XML is this two-fairt idea, so that is the one thing.
And basically this one says the red thing means paper invoices are forbidden as of
2028 domestically as of 250 euros in Germany and that means that we are showing the first
phase which is the red phase, we have to have to be able to read these things because if it is permitted
for somebody to send you these invoices, you have to be able to read them.
So you have to be able to read electronic invoices, XML invoices in CI and you'll be
as since 1st of January and you have to write them, stand of now in 1st January,
28 at the latest, big companies even 1st January and 27 and we don't even know when we have
to tell the authorities about their contents because it's basically the third phase which
is not yet really decided.
That is at the left, that's the spike of B2G in 2020 which came usually we have around
thousand validations, B2G was around 6000 and that is basically what you see basically
the smallest line at the right is 5000 so basically that spike we now have up to 30,000
validations per month on some public validation website and that is actually what's blue
at the left is yellow at the right because I did the graph.
The consequences are interesting, the consequences are very interesting and very demanding
because apparently you will put a lot of trust into their industries.
We have this continuous transaction control means it is continuous so it's basically
not like I wait for a year, it's not real time but it's a couple of days so we're talking
about having to announce our invoices after 10 days now nowadays we have around 45 in
intra-European context and that basically means that you have to you will have if you get an
annual invoice you will get monthly invoices and yeah that's a process change so a real big change
for the companies you have to accept at least machine readable invoices in some cases you
will have to send them as well at least cross-border in Germany also in Germany and you will
receive more automated invoices you probably are supposed to do some kind of validation singing
on it and yeah it's not yet really decided how the identity works in France they have the
CRE number so that you can say this is regarding this is going to this recipient in France
they have this in CS probably in European context it will be the vet ID and probably also
within Germany and this means that if we ask the people to write these invoices cross-border
and we have non-discriminatory singing so we don't want to say nation one nation two
that means you also have to accept those invoices when they are sent domestically so basically
there will be something to accept either via this portal via the state system or with
or somehow else reading this the French people have their system have a
operation, the material easy so they have they have to pull for invoices every day or when
they sing they may have to pull invoices and you probably have to think of electronically archiving
this invoices in Germany for example that means GOBD so there's a rule set which applies if
you receive electronic invoices and now you have to receive them so now you have to apply to
these rules one below side note there are a little bit of forest friends actually the first one
isn't really a forest friend it's more like a real friend factor x one is round two pair two
which are really identical formats for this XML within PDF and for the x-rational is the German
silos so a size is a specification of requirements so you say I need this fate and this field is
mandatory it's also sometimes referred to as if it was a format factor x is also a size and the
factor of PR is the format and the size and they will be moving away so as far as I understood
the idea is that Italy will ask of 202235 they will also use this CIO or UBL format so they
will be migrating and in Germany we had the writing of the authorities letter of the authorities
which that please expect that you can also receive photography which will like what they meant
the size not the format that was in the draft of the letter the final letter it's cleared because
of Andreas and then pepper this is also it's pepper is a format the format is UBL and it's the
size and protocol is as far of pepper so if you read pepper this I think I read something in the
for Belgium I read something first of January 26 in the pepper this thingy it doesn't necessarily
mean that you need to connect to pepper because pepper is a provider it's a network it's not it's not
the commercial it's a non-commercial network but you still have to pay some things what I did or
the response of whatever one response of the of some Germans for like me I did this two-fair.org which
is the inner official page of this two-fair standard where I list some open source tools for example
also libraries how you can create it or validators converters visualization tools and so this is
actually the front page has also some things below but already on the front page you get the
you get the libraries and the converter tools and some of them are actually good some of them are
from me and one of them is for example one of the bad ones is this corpus thingy because
it's basically a collection of invoices in the German context so in German we have this
CI and UBL are these two XML formats and you have the factorics which is the PDF with sing
basically it is three directories with sample invoices in CI UBL and in fact I can not really show this
in the internet because I don't have internet connection but I can show it in the file system so
basically what you're interested is this XM algorithm singing which is basically the
there were samples from there were also samples from the wild and there were some of them we
even some of them are actually invalid which is nice if you want to test the validator and it's also
in particular it's nice if you some of them are even crafted tests certain validation sings and you
have the UBL and CI and you have this yeah you have basically a full 300 sample which has our
attributes and in the UBL you have a credit note and this is since we need to visualize these things
also small companies in Germany this is my software which is like just a GUI and electron to
to visualize something like this one and then you get the view of it and basically you can switch
to the fuel and stuff and you can switch the language you want to have French and there's
something like show IDs which is they have BT IDs so you can now open a new one and then you
actually even get it in French that's apparently an offline application which I like very much because
I don't have internet now and I want to see the weeks later in electron and you also sometimes
have attachment to invoices and it's not yet French I need to restart it but anyway but the BTs are
there and you see the file attachment was in the invoices so that's the first software I wanted to show
Apache license second one is a command is basically a Java library so you can embed it in your own
software it's also Apache license and it's also it has a command line utility which is called
Mustang one wouldn't think of it and then you can do things like I want to say I want to do PDF view
because actually the print PDF is is wrong in Cuba the print PDF only works if you have
hybrid invoice so factor x invoice where there is the PDF so it means print the PDF part and not print
it as PDF if you have factor x invoice you see at the left you see the PDF and at the right you see
the visualized XML which match sometimes and there you can like with this you can say hp
corpus and
for example this one which would give you PDF file and you can also validate you can read and write
and convert just try it out if you like it and it's not only for this two-fatsing so it's also
on native XML formats like this here I end you get and if that one works I can show you
it's actually quite slow and then I can show you the PDF if you print the HTML view it's
16 pages and so this one has like three or whatever and in Germany it's important in France they
have the system which converts and realizes it for them but in Germany yeah basically usually
you would have yourself you're accounting software doing this but sometimes you don't have it there
and so and what you can also do is validate and then I usually use no notices and you can use sauce
and then you can basically this one recalculate there are set of schema and schema
from providers you should use both and it also recalculates parts of the invoice so
we are basically in Barspieler
and that is basic whatever this one should work because it's actually one of the official samples
and I believe that takes a while because again it's from me
or actually with 50 people now I'm not even the most important guy in the Muslim project singing
and then we have basically that was it I believe just a second we had this and we had
this yeah and that was the one live demo that was the other live demo and so let's connect
so yeah basically these are the sources if you download the if you download the slides but
yeah any questions yes
well what's the question if you have to validate an invoice then you also should have something like
signage of you have to sign your invoice with a key no unfortunately not not in Germany
and so it's basically if you have it if it is signed which is I think I believe only possible
and super then it replaces parts of your internal checks so basically the internal checks should
be first of all you should calculate it and you should have internal checks that you receive the
goods and that and that everything is fine and these they should handle that and you don't
need to digitally sign it except if you're in Hungary which I don't know if they keep it on
that no need for digital signature yeah thanks one second
thank you so is there a way to include a SSL style sheet so that you can open these
invoices directly in a web browser there's two ways basically the one I just showed because
that my application is based on XSLT style sheet which transfers to HTML that is also that is
from the closet and I hope I have the links in the description besides there is regarding
I think regarding country information there is a good link is this
five or six is the six and let me check if I have it and there's actually additional style sheet
yes and there's an additional style sheet for the validation so basically you can convert
schema from to XSLT to get as we are all reports out of it and there I actually
some but yeah there is style sheets
well you're sure that something about how to visualize and well will date these things
but how about creating such an invoice I mean it's as business to government business to business
but practically I think even private people will run into this problems yeah that's a year
renting some I mean I've run into the problem renting a small room to some things that somehow
government and suddenly there's only only paying the rent if you send us an E invoice from now on
yes there's open source for example what one of my favorites is Factorama which can create these
invoices and there are also some things so there's an extraction of minutes or stale and
from come where you can enter the data in an HTML view without registering and then in the
entry get an XML invoice but you have to watch out because apparently still have to archive it
after you created it so not only sending but also archiving and there is open source
maybe starting to become more there's also freeware which is like JTL Vavi is great little tool
we're seeing it more and there's a lot of web-based open source like Odoo and open set and
how are they they're called we have time for one last question