Dycode SimpleUBL UBL 2.0 Class Library

CreditNote Class

Remarks

The document used to specify credits due to the Debtor from the Creditor.

Public Instance Constructors

CreditNote Constructor Default constructor.
CreditNote Copy Constructor Copy constructor. (Only C++)
CreditNote Constructor with required values Constructor with required values. (Only C++, .NET)

Public Instance Properties

 
Property UBL 2.0OIO UBLNES UBL Description
UBLVersionID0..111 UBL Version Identifier. The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. (Ex: 2.0.5)
UBLExtensions0..10..1  A container for all extensions present in the document.
CustomizationID0..111 Customization Identifier. Identifies a user-defined customization of UBL for a specific use. (Ex: NES)
ProfileID0..111 Profile Identifier. Identifies a user-defined profile of the customization of UBL being used. (Ex: BasicProcurementProcess)
ID111 Identifier. An identifier for the Credit Note assigned by the Creditor.
CopyIndicator0..10..10..1 Indicator. Indicates whether the Credit Note is a copy (true) or not (false).
UUID0..10..1  UUID. A universally unique identifier for an instance of this ABIE.
IssueDate111 Issue Date. The date assigned by the Creditor on which the Credit Note was issued.
IssueTime0..10..1  Issue Time. The time assigned by the Creditor at which the Credit Note was issued.
TaxPointDate0..10..10..1 Tax Point Date. The date of the Credit Note used Indicates the point at which tax becomes applicable.
Notes0..n0..n0..n Note. Free-form text applying to the Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure.
DocumentCurrencyCode0..111 Currency Code. The default currency for the Credit Note.
TaxCurrencyCode0..10..1  Currency Code. The currency used for tax amounts in the Credit Note.
PricingCurrencyCode0..10..1  Currency Code. The currency used for prices in the Credit Note.
PaymentCurrencyCode0..10..1  Currency Code. The currency used for payment in the Credit Note.
PaymentAlternativeCurrencyCode0..10..1  Currency Code. The alternative currency used for payment in the Credit Note.
AccountingCostCode0..10..1  Accounting Cost Code. The Buyer's accounting code applied to the Credit Note as a whole.
AccountingCost0..10..10..1 Accounting Cost. The Buyer's accounting code applied to the Credit Note as a whole, expressed as text.
LineCountNumeric0..10..1  Line Count. The number of lines in the document.
InvoicePeriods0..n0..10..1 Period. Associates the Credit Note with an Invoicing Period rather than a specific Invoice.
DiscrepancyRespons0..n0..10..1 Response. An association to a reason for the Credit Note as a whole.
OrderReference0..10..10..1 Order Reference. An association to Order Reference.
BillingReferences0..n0..n1 Billing Reference. An association to Billing Reference.
DespatchDocumentReferences0..n0..n  Document Reference. An associative reference to Despatch Advice.
ReceiptDocumentReferences0..n0..n  Document Reference. An associative reference to Receipt Advice.
ContractDocumentReferences0..n0..1  Document Reference. An associative reference to Contract.
AdditionalDocumentReferences0..n0..n  Document Reference. An associative reference to Additional Document.
Signatures0..n0..n0..n Signature. An association to Signature.
AccountingSupplierParty111 Supplier Party. An association to the Accounting Supplier Party.
AccountingCustomerParty111 Customer Party. An association to the Accounting Customer Party.
PayeeParty0..10..1  Party. An association to the Payee.
TaxRepresentativeParty0..1   Party. An association to the Tax Representative.
TaxExchangeRate0..10..10..1 Exchange Rate. An association to Exchange Rate between the Document Currency and the Tax Currency.
PricingExchangeRate0..10..1  Exchange Rate. An association to Exchange Rate between the Document Currency and the Pricing Currency.
PaymentExchangeRate0..10..1  Exchange Rate. An association to Exchange Rate between the Document Currency and the Payment Currency.
PaymentAlternativeExchangeRate0..10..1  Exchange Rate. An association to Exchange Rate between the Document Currency and the Payment Alternative Currency.
AllowanceCharges0..n0..n0..n Allowance Charge. An association to Allowances and Charges that apply to the Credit Note as a whole.
TaxTotals0..n1..n1..n Tax Total. An association to Tax Total.
LegalMonetaryTotal111 Monetary Total. An association to the total amount payable on the Credit Note, including Allowances, Charges, and Taxes.
CreditNoteLines1..n1..n1..n Credit Note Line. An association to one or more Credit Note Lines.
 
XML XML Document in the string format.

Public Instance Methods

GetSchemaValidationErrors Validate document by schema. If document is not valid, return validation error.
GetSchemaValidationErrorsFromXML Validate XML by schema. If XML is not valid, return validation error.
GetValueValidationErrors Validate document by value. If document is not valid, return validation error.
GetValueValidationErrorsFromXML Validate XML by value. If XML is not valid, return validation error.
GetValidationErrors Validate document by schema and then by value. If document is not valid, return validation error.
GetValidationErrorsFromXML Validate XML by schema and then by value. If XML is not valid, return validation error.
Write Write document XML.
Read Read document XML.

Public Operators

Operator=Overloading of Assignment Operator. (Only C++)

Thread Safety

Public static members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

CreditNote Properties | Dycode.SimpleUBL