Skip to content

Conversation

@martaprilmay
Copy link

Problem:

LineDeliveryNoteReferencedDocument is missing the line_id field.

All other line-level referenced document classes in the same file include:
line_id = StringField(NS_RAM, "LineID", required=False, profile=COMFORT)

This includes:

  • LineUltimateCustomerOrderReferencedDocument
  • LineBuyerOrderReferencedDocument
  • LineContractReferencedDocument
  • LineDespatchAdviceReferencedDocument
  • LineReceivingAdviceReferencedDocument
  • LineAdditionalReferencedDocument

The docs also suggest that EXTENDED profile DeliveryNoteReferencedDocument has LineID element (this is under SpecifiedLineTradeDelivery Grouping of delivery details on line level BT-129-00):
Screenshot 2026-01-20 at 19 57 18

Solution:

Add line_id to LineDeliveryNoteReferencedDocument

also removes tmp test_delivery_note_line_id_error (LineDeliveryNoteReferencedDocument.LineID is handled by test_sample_roundtrip)
@martaprilmay martaprilmay marked this pull request as ready for review January 21, 2026 13:53
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