diff --git a/src/models/Document.ts b/src/models/Document.ts index 9c0955d..c3a53af 100644 --- a/src/models/Document.ts +++ b/src/models/Document.ts @@ -11,6 +11,7 @@ export interface BaseInfo { country?: string; companyName?: string; coc?: string; + vatno?: string; } export interface DocumentRequest extends BaseInfo { diff --git a/test/client.test.ts b/test/client.test.ts index 7231f8a..73e5ed3 100644 --- a/test/client.test.ts +++ b/test/client.test.ts @@ -140,7 +140,8 @@ describe('Invoice', {skip: noApiConfigured}, async () => { zip: faker.location.zipCode(), country: faker.location.countryCode(), companyName: faker.company.name(), - coc: faker.company.catchPhraseAdjective() + coc: faker.company.catchPhraseAdjective(), + vatno: faker.company.catchPhraseAdjective() } }); assert.ok(invoice);