From 2e509cc8e9dce205e2c5abdd387c0e9c629fa4de Mon Sep 17 00:00:00 2001 From: ThalesTomme Date: Fri, 24 Apr 2026 14:52:20 +0200 Subject: [PATCH] Added vatno to customer object and tests --- src/models/Document.ts | 1 + test/client.test.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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);