Skip to content

Class.UblReader

github-actions[bot] edited this page Jan 7, 2025 · 12 revisions

einvoicing / UblReader

Class: UblReader

Link

https://docs.peppol.eu/poacc/billing/3.0/2024-Q2/syntax/ubl-invoice/tree/

Extends

Constructors

new UblReader()

new UblReader(): UblReader

Returns

UblReader

Inherited from

AbstractReader.constructor

Methods

addressFromXmlNode()

addressFromXmlNode(node): Address

Parameters

node

any

Returns

Address

Defined in

readers/UblReader.ts:457


allowanceOrChargeFromXmlNode()

allowanceOrChargeFromXmlNode(node, taxes): AllowanceCharge

Parameters

node

any

taxes

Tax[]

Returns

AllowanceCharge

Defined in

readers/UblReader.ts:489


contactFromXmlNode()

contactFromXmlNode(node): Contact

Parameters

node

any

Returns

Contact

Defined in

readers/UblReader.ts:477


deliveryFromXmlNode()

deliveryFromXmlNode(node): Delivery

Parameters

node

any

Returns

Delivery

Defined in

readers/UblReader.ts:372


documentLineFromXmlNode()

documentLineFromXmlNode(node, documentType, taxes): DocumentLine

Parameters

node

any

documentType

DocumentTypes

taxes

Tax[]

Returns

DocumentLine

Defined in

readers/UblReader.ts:527


partyFromXmlNode()

partyFromXmlNode(node): Party

Parameters

node

any

Returns

Party

Defined in

readers/UblReader.ts:310


payeeFromXmlNode()

payeeFromXmlNode(node): Payee

Parameters

node

any

Returns

Payee

Defined in

readers/UblReader.ts:353


paymentFromXmlNode()

paymentFromXmlNode(node): Payment

Parameters

node

any

Returns

Payment

Defined in

readers/UblReader.ts:392


periodFromXmlNode()

periodFromXmlNode(node): object

Parameters

node

any

Returns

object

periodEnd

periodEnd: DateOnly

periodStart

periodStart: DateOnly

Defined in

readers/UblReader.ts:517


read()

read(content): Promise<Document>

Parameters

content

string

Returns

Promise<Document>

Overrides

AbstractReader.read

Defined in

readers/UblReader.ts:49


readFromFile()

readFromFile(filename): Promise<Document>

Parameters

filename

string

Returns

Promise<Document>

Inherited from

AbstractReader.readFromFile

Defined in

readers/AbstractReader.ts:14

Clone this wiki locally