From 94c44bfd13b6b936b38f870db09ba337bfc139c4 Mon Sep 17 00:00:00 2001 From: Elias Summermatter Date: Fri, 8 Dec 2023 10:39:52 +0100 Subject: [PATCH] Fixes wrong types in invoice create --- src/interfaces/InvoicesStatic.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/InvoicesStatic.ts b/src/interfaces/InvoicesStatic.ts index 4502182..166e98f 100644 --- a/src/interfaces/InvoicesStatic.ts +++ b/src/interfaces/InvoicesStatic.ts @@ -45,8 +45,8 @@ export namespace InvoicesStatic { "show_position_taxes"?: boolean, "is_valid_from"?: string, "is_valid_to"?: string, - "reference"?: null, - "api_reference"?: null, + "reference"?: string|null, + "api_reference"?: string|null, "template_slug"?: string, "positions": PositionStatic.PositionCreate[] }