Skip to content

SudoSOS Back-end API / invoicing / CreateInvoiceRequest

Interface: CreateInvoiceRequest ​

Extends ​

Properties ​

addressee? ​

ts
optional addressee?: string;

Name of the addressed, defaults to the fullname of the person being invoiced.


amount ​

ts
amount: DineroObjectRequest;

attention? ​

ts
optional attention?: string;

Attention to use on the invoice.


byId? ​

ts
optional byId?: number;

The creator of the Invoice, defaults to the ID of the requester.


city? ​

ts
optional city?: string;

City to use on the invoice, overwrites the users default.


country? ​

ts
optional country?: string;

Country to use on the invoice, overwrites the users default.


date? ​

ts
optional date?: Date;

Date to use on the invoice, overwrites the creation date.


description ​

ts
description: string;

forId ​

ts
forId: number;

Inherited from ​

BaseInvoice.forId


postalCode? ​

ts
optional postalCode?: string;

Postal code to use on the invoice, overwrites the users default.


reference ​

ts
reference: string;

street? ​

ts
optional street?: string;

Street to use on the invoice, overwrites the users default.


transactionIDs ​

ts
transactionIDs: number[];

Inherited from ​

BaseInvoice.transactionIDs