From 9059c6e49f4e4ca04fe04ca467be03355de43d47 Mon Sep 17 00:00:00 2001 From: apardods Date: Tue, 15 Oct 2024 16:28:25 +0000 Subject: [PATCH] Added Ordering codes --- bill/ordering.go | 2 +- bill/payment.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bill/ordering.go b/bill/ordering.go index 2f8fb788..148091b2 100644 --- a/bill/ordering.go +++ b/bill/ordering.go @@ -12,7 +12,7 @@ import ( // to other documents and alternative parties involved in the order-to-delivery process. type Ordering struct { // Identifier assigned by the customer or buyer for internal routing purposes. - Code cbc.Code `json:"code,omitempty" jsonschema:"title=Code"` + Code cbc.Code `json:"code,omitempty" jsonschema:"title=Code" en16931:"BT-10"` // Any additional Codes, IDs, SKUs, or other regional or custom // identifiers that may be used to identify the order. Identities []*org.Identity `json:"identities,omitempty" jsonschema:"title=Identities"` diff --git a/bill/payment.go b/bill/payment.go index 188f895d..6b069530 100644 --- a/bill/payment.go +++ b/bill/payment.go @@ -15,7 +15,7 @@ type Payment struct { // The party responsible for receiving payment of the invoice, if not the supplier. Payee *org.Party `json:"payee,omitempty" jsonschema:"title=Payee"` // Payment terms or conditions. - Terms *pay.Terms `json:"terms,omitempty" jsonschema:"title=Terms"` + Terms *pay.Terms `json:"terms,omitempty" jsonschema:"title=Terms" en16931:"BT-20"` // Any amounts that have been paid in advance and should be deducted from the amount due. Advances []*pay.Advance `json:"advances,omitempty" jsonschema:"title=Advances"` // Details on how payment should be made.