User-defined fields in e-invoice

Hello everyone,

Our customer has forwarded us a request from a municipality and I think I’ll just ask the question here.

The customer manages several objects of the municipality, which appear as a user-defined field ($invoice.custom1) on the PDF invoice.
Now the municipality would like this to also appear in the e-invoice.
Is this compliant and if so, how do I get this field into the XML?

Thank you and best regards

Hi,

That’s a good question, sorry I don’t have the answer. I suggest asking in a discussion on GitHub.

So I don’t understand this constant redirection to another and even more annoying platform.

You have the forum here and I don’t really have any ambitions to shove more data down Microsoft’s throat and post my question again on GitHub.

So why always this redirection to GitHub.
The fact that Github is used for version management is ok, but you have this forum for discussion, don’t you?

This is our support forum, we use it to support existing features.

Our e-invoicing functionality is still under development, by posting on GitHub you’re speaking directly with the backend developers.

@ITSAW

Which standard are you using? UBL/X_Invoice etc…

Does the client require a specific UBL element populated?

Hello,

as the recipient is a public institution in Germany, we use XInvoice 3.0

We have found the LeitwegID as BuyerReferenc.
The user-defined field that the invoice recipient needs for assignment has not been defined in more detail by the recipient. Possibly in a reason for payment.

@ITSAW

There are a lot of potential fields that can be targeted with this information. If you can provide as much detail as possible we can look into it.

Government bodies can have some very specific requirements about the exact field, they should be able to provide a reference/specification

Yes, government agencies “may” have very specific requirements for the exact area and they “should” be able to provide a reference/specification.
This small municipality is actually the first to try to pass this on to my / our client so directly.
I’ll try to get more specific information here and then post here and on GitHub.

I have just been in contact with the municipality in question and the custom field, in this context an invoice field ($invoice.custom1) should, like the invoice number, be in the block

<rsm:ExchangedDocument>
<ram:ID>RG2024101866</ram:ID>
<ram:TypeCode>380</ram:TypeCode>
<ram:IssueDateTime>
<udt:DateTimeString format=“102”>20241024</udt:DateTimeString>
</ram:IssueDateTime>
</rsm:ExchangedDocument>

appear, if there are opportunities here.

According to the XRechnung specification, the “Invoice NOTE” field would be predestined for this information.