Skip to content

cancellation invoices #19

Description

@dwarfi09

It would be great if we could use secretariat also for cancellation invoices. If I understand the standard correctly, a different type code would need to be used and a reference to the original document would need to be established.

At the moment, however, the type code is fixed:

  # invoice.rb, Line 167
  xml['ram'].TypeCode '380' # TODO: make configurable

I am also unsure about the schema for the reference; it should be something like this:

      <ram:AdditionalReferencedDocument>
        <ram:IssuerAssignedID>RE2024-12345</ram:IssuerAssignedID>
        <ram:TypeCode>380</ram:TypeCode>
        <ram:FormattedIssueDateTime>
          <qdt:DateTimeString format="102">20241109</qdt:DateTimeString>
        </ram:FormattedIssueDateTime>
      </ram:AdditionalReferencedDocument>

Is something in that direction planned?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions