SpecifiedTradePaymentTerms for E-Rechnung

Version

v5.10.40

Environment

Docker

Describe the bug

When I export my invoice as “E-Rechnung” in the XML I have the following lines:

Payment Online:

      <ram:SpecifiedTradeSettlementPaymentMeans>
        <ram:TypeCode>68</ram:TypeCode>
        <ram:Information>Die Rechnung muss online über den bereitgestellten Link bezahlt werden</ram:Information>
      </ram:SpecifiedTradeSettlementPaymentMeans>

Payment in 0 days net:

      <ram:SpecifiedTradePaymentTerms>
        <ram:Description>Zahlbar innerhalb von 0 Tagen netto bis </ram:Description>
      </ram:SpecifiedTradePaymentTerms>

Where can I change that? I would like to have Bank Transfer (Überweisung) and 8 days net?

Hi,

I suggest asking in a discussion on GitHub

Will do! I will post the findings here …

1 Like

@pixelwave in the latest release, the e-invoice payment means when configured to payment means type code “30” will override the old system of custom field values.

@david I am not quite sure I understood this. So I got this far that the first issue is gone by using custom fields:

The paying online part:

     <ram:SpecifiedTradeSettlementPaymentMeans>
        <ram:TypeCode>68</ram:TypeCode>
        <ram:Information>Die Rechnung muss online über den bereitgestellten Link bezahlt werden</ram:Information>
      </ram:SpecifiedTradeSettlementPaymentMeans>

Seems to be automatically be replaced when I fill out the for custom company fields like that (for EN16931):

Screenshot 2024-11-12 at 08 48 04

Now the “SpecifiedTradeSettlementPaymentMeans” in the XML output are those:

      <ram:SpecifiedTradeSettlementPaymentMeans>
        <ram:TypeCode>30</ram:TypeCode>
        <ram:PayeePartyCreditorFinancialAccount>
          <ram:IBANID>DE***</ram:IBANID>
          <ram:AccountName>A***</ram:AccountName>
        </ram:PayeePartyCreditorFinancialAccount>
        <ram:PayeeSpecifiedCreditorFinancialInstitution>
          <ram:BICID>WELA***</ram:BICID>
        </ram:PayeeSpecifiedCreditorFinancialInstitution>
      </ram:SpecifiedTradeSettlementPaymentMeans>

PERFECT!

Now the only issue missing so I can use it in production is the “payment net until” issue. When not specifing a target date manually in the invoice I seemingly get random durations. Like this time:

      <ram:SpecifiedTradePaymentTerms>
        <ram:Description>Zahlbar innerhalb von 11 Tagen netto bis </ram:Description>
      </ram:SpecifiedTradePaymentTerms>

I need to find a way to fix them to 8 days without having to manually pick a target date every time.

Link to the GitHub issue.