Skip to content
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

Add Support For Additional Referenced Documents #22

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mnin
Copy link

@mnin mnin commented Jan 29, 2025

Introducing new element ram:AdditionalReferencedDocument under //rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement like:

<ram:AdditionalReferencedDocument>
  <ram:IssuerAssignedID>example.pdf</ram:IssuerAssignedID>
  <ram:TypeCode>916</ram:TypeCode>
  <ram:Name>example.pdf</ram:Name>
  <ram:AttachmentBinaryObject mimeCode="application/pdf" filename="example.pdf">
    JVBERi0xLjMKJcTl8uXrp/Og0MTGCjMgMCBvYmoKPDwgL0ZpbHRlciAvRmxh
    dGVEZWNvZGUgL0xlbmd0aCAxOTkgPj4Kc3RyZWFtCngBXY/NigJBDITv8xR1
    ...
    ZDAzOGI3PiBdID4+CnN0YXJ0eHJlZgo2MjYxCiUlRU9GCg==
  </ram:AttachmentBinaryObject>

to embed attachments like PDF documents into the XML.

@mnin mnin force-pushed the add-support-for-additional-referenced-documents branch from fb3bca0 to 28d849f Compare January 31, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant