-
Notifications
You must be signed in to change notification settings - Fork 1
Class.Document
einvoicing / Document
-
Entity
<IDocument
,string
,DocumentId
>
protected
new Document(props
,id
?):Document
string
| DocumentId
protected
_documentType:DocumentTypes
protected
readonly
_id:DocumentId
protected
_ruleset:AbstractRuleset
protected
props:IDocument
get attachments():
Attachment
[]
Get the attachments.
set attachments(
value
):void
Set the attachments.
void
get buyer():
Party
Get the buyer.
set buyer(
value
):void
Set the buyer.
void
get buyerAccountingReference():
string
Get the buyer accounting reference.
string
set buyerAccountingReference(
value
):void
Set the buyer accounting reference.
string
void
get buyerReference():
string
Get the buyer reference.
string
set buyerReference(
value
):void
Set the buyer reference.
string
void
get charges():
AllowanceCharge
[]
Get the charges.
set charges(
value
):void
Set the charges.
void
get contractReference():
string
Get the contract reference.
string
set contractReference(
value
):void
Set the contract reference.
string
void
get currency():
CurrencyCode
Get the currency.
set currency(
value
):void
Set the currency.
void
get delivery():
Delivery
Get the delivery.
set delivery(
value
):void
Set the delivery.
void
get documentType():
DocumentTypes
Get the document type.
DocumentTypes
get dueDate():
DateOnly
Get the due date.
set dueDate(
value
):void
Set the due date.
void
get id():
DocumentId
Get the document ID.
set id(
value
):void
Set the document ID.
void
get issueDate():
DateOnly
Get the issue date.
set issueDate(
value
):void
Set the issue date.
void
get lines():
DocumentLine
[]
Get the document lines.
set lines(
value
):void
Set the document lines.
void
get notes():
string
Get the notes.
string
set notes(
value
):void
Set the notes.
string
void
get paidAmount():
number
Get the paid amount.
number
set paidAmount(
value
):void
Set the paid amount.
number
void
get payee():
Payee
Get the payee.
set payee(
value
):void
Set the payee.
void
get payment():
Payment
Get the payment.
set payment(
value
):void
Set the payment.
void
get periodEnd():
DateOnly
Get the period end date.
set periodEnd(
value
):void
Set the period end date.
void
get periodStart():
DateOnly
Get the period start date.
set periodStart(
value
):void
Set the period start date.
void
get precedingInvoiceReference():
InvoiceReference
[]
Get the preceding invoice reference.
set precedingInvoiceReference(
value
):void
Set the preceding invoice reference.
void
get purchaseOrderReference():
string
Get the purchase order reference.
string
set purchaseOrderReference(
value
):void
Set the purchase order reference.
string
void
get roundingAmount():
number
Get the rounding amount.
number
set roundingAmount(
value
):void
Set the rounding amount.
number
void
get ruleset():
AbstractRuleset
Get the ruleset.
get salesOrderReference():
string
Get the sales order reference.
string
set salesOrderReference(
value
):void
Set the sales order reference.
string
void
get seller():
Party
Get the seller.
set seller(
value
):void
Set the seller.
void
get taxAmount():
number
Get the tax amount.
number
set taxAmount(
value
):void
Set the tax amount.
number
void
get taxCurrency():
CurrencyCode
Get the tax currency.
set taxCurrency(
value
):void
Set the tax currency.
void
get taxes():
Tax
[]
Get the taxes.
Tax
[]
set taxes(
value
):void
Set the taxes.
Tax
[]
void
get taxPointDate():
DateOnly
Get the tax point date.
set taxPointDate(
value
):void
Set the tax point date.
void
get tenderOrLotReference():
string
Get the tender or lot reference.
string
set tenderOrLotReference(
value
):void
Set the tender or lot reference.
string
void
get type():
DocumentType
Get the document type.
set type(
value
):void
Set the document type.
void
equals(
object
?):boolean
Entity
<IDocument
, string
, DocumentId
>
boolean
toJSON():
IDocument
toPrimitive():
IDocument
validate():
IValidationResult
IValidationResult
static
create(type
,ruleset
,props
):Document
DocumentTypes
- AbstractReader
- AbstractRuleset
- AbstractWriter
- Address
- AllowanceCharge
- Attachment
- Attribute
- BinaryObject
- CurrencyCode
- DateOnly
- Delivery
- Document
- DocumentId
- DocumentLine
- DocumentLineId
- DocumentType
- Entity
- EntityId
- Identifier
- InvoiceReference
- Party
- Payee
- Payment
- PaymentCard
- PaymentMandate
- PaymentTransfer
- PeppolRuleset
- Tax
- TaxId
- UblReader
- UblWriter
- ValueObject