Skip to content

SudoSOS Back-end API / reports / InactiveAdministrativeCostReport

Class: InactiveAdministrativeCostReport ​

Extends ​

  • UnstoredPdfAbleClass<typeof IInactiveAdministrativeCostReport, this> & IInactiveAdministrativeCostReport<this>

Constructors ​

Constructor ​

ts
new InactiveAdministrativeCostReport(init?): InactiveAdministrativeCostReport;

Parameters ​

ParameterType
init?Partial<IInactiveAdministrativeCostReport>

Returns ​

InactiveAdministrativeCostReport

Inherited from ​

ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).constructor

Properties ​

PropertyTypeDescriptionOverridesInherited from
countnumber--UnstoredPdfAble(IInactiveAdministrativeCostReport).count
fromDateDate--UnstoredPdfAble(IInactiveAdministrativeCostReport).fromDate
pdfServiceInactiveAdministrativeCostReportPdfServiceThe service that creates the Pdf buffer. Can be either a LaTeX-based service (UnstoredPdfService) or HTML-based service (HtmlUnstoredPdfService).UnstoredPdfAble(IInactiveAdministrativeCostReport).pdfService-
toDateDate--UnstoredPdfAble(IInactiveAdministrativeCostReport).toDate
totalAmountExclVatDinero--UnstoredPdfAble(IInactiveAdministrativeCostReport).totalAmountExclVat
totalAmountInclVatDinero--UnstoredPdfAble(IInactiveAdministrativeCostReport).totalAmountInclVat
vatAmountDinero--UnstoredPdfAble(IInactiveAdministrativeCostReport).vatAmount
vatPercentagenumber--UnstoredPdfAble(IInactiveAdministrativeCostReport).vatPercentage

Methods ​

createPdf() ​

ts
createPdf(): Promise<Buffer<ArrayBufferLike>>;

Create the Pdf buffer. This method generates the PDF and returns it as a Buffer.

Returns ​

Promise<Buffer<ArrayBufferLike>>

Inherited from ​

ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createPdf

createRaw() ​

ts
createRaw(): Promise<Buffer<ArrayBufferLike>>;

Returns ​

Promise<Buffer<ArrayBufferLike>>

Inherited from ​

ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createRaw

createTex() ​

ts
createTex(): Promise<Buffer<ArrayBufferLike>>;

Returns ​

Promise<Buffer<ArrayBufferLike>>

Deprecated ​

Use createRaw() instead

Inherited from ​

ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).createTex

getPdfParamHash() ​

ts
getPdfParamHash(): Promise<string>;

Returns ​

Promise<string>

Inherited from ​

ts
UnstoredPdfAble(IInactiveAdministrativeCostReport).getPdfParamHash

toResponse() ​

ts
toResponse(): InactiveAdministrativeCostReportResponse;

Returns ​

InactiveAdministrativeCostReportResponse