lbx-invoice
Version:
Provides functionality around generating invoices.
58 lines (57 loc) • 1.28 kB
TypeScript
import { JsonSchemaWithExtensions } from '@loopback/repository';
/**
* The address data, which can be either a private or a company address.
*/
export declare class AddressData {
/**
* The form of address of the customer.
*/
formOfAddress: string;
/**
* The first name of the customer.
*/
firstName: string;
/**
* The last name of the customer.
*/
lastName: string;
/**
* The email of the customer.
* This does NOT have to be the same email where the invoice is sent.
* It is required for factur-x or x-rechnung compliant invoices.
*/
email?: string;
/**
* The street of the address.
*/
street: string;
/**
* The number of the address.
*/
number: string;
/**
* The postcode of the address.
*/
postcode: string;
/**
* The city of the address.
*/
city: string;
/**
* The country id of the address.
* Eg. 'US'.
*/
countryId: string;
/**
* Whether or not the address is of a company.
*/
company: boolean;
/**
* The name of the company.
*/
companyName?: string;
}
/**
* Json schema for address data.
*/
export declare const addressDataJsonSchema: JsonSchemaWithExtensions;