Skip to content

Commit

Permalink
fix: parse purchase order number
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Dec 31, 2024
1 parent 715ab9e commit bc67523
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def read_values_from_einvoice(self) -> None:
self.parse_seller(doc.trade.agreement.seller)
self.parse_buyer(doc.trade.agreement.buyer)

buyer_reference = str(doc.trade.agreement.buyer_order.issuer_assigned_id)
buyer_reference = doc.trade.agreement.buyer_order.issuer_assigned_id._text
if (
not self.purchase_order
and buyer_reference
Expand Down

0 comments on commit bc67523

Please sign in to comment.