Skip to content

SudoSOS Back-end API / invoicing / UpdateInvoiceRequest

Interface: UpdateInvoiceRequest ​

Extends ​

Properties ​

addressee? ​

ts
optional addressee: string;

Name of the addressed.

Inherited from ​

BaseUpdateInvoice.addressee


amount? ​

ts
optional amount: DineroObjectRequest;

The amount to use on the invoice - should be equal to the sum of the transactions.

Inherited from ​

BaseUpdateInvoice.amount


attention? ​

ts
optional attention: string;

Attention to use on the invoice.

Inherited from ​

BaseUpdateInvoice.attention


byId? ​

ts
optional byId: number;

The user who updates the Invoice, defaults to the ID of the requester.


city? ​

ts
optional city: string;

City to use on the invoice.

Inherited from ​

BaseUpdateInvoice.city


country? ​

ts
optional country: string;

Country to use on the invoice.

Inherited from ​

BaseUpdateInvoice.country


date? ​

ts
optional date: string;

Date to use on the invoice.

Inherited from ​

BaseUpdateInvoice.date


description? ​

ts
optional description: string;

The description of the invoice.

Inherited from ​

BaseUpdateInvoice.description


postalCode? ​

ts
optional postalCode: string;

Postal code to use on the invoice.

Inherited from ​

BaseUpdateInvoice.postalCode


reference? ​

ts
optional reference: string;

Reference to use on the invoice.

Inherited from ​

BaseUpdateInvoice.reference


state? ​

ts
optional state: "CREATED" | "SENT" | "PAID" | "DELETED";

enum:CREATED,SENT,PAID,DELETED - The state to set of the invoice,


street? ​

ts
optional street: string;

Street to use on the invoice.

Inherited from ​

BaseUpdateInvoice.street