Fortnox Connector: Update Primary Key for Invoices
AnsweredWhich connector?: Fortnox (Lite)
Additional details: The Invoices table currently uses a surrogate key as the Primary Key. The column document_number however is the actual unique identifier for Invoices, and should be used as PK.
Please see Fortnox's API docs, where document_number is used as the key for "Retrieve a single invoice" endpoint
-
Official comment
Hi Ben,
Thank you for the suggestion. We have added using document_number as the primary key for the Invoices table to our active backlog. Are any downstream models relying on the current key that we should account for? We will keep you updated on this thread as we make progress.
Best,
Syead Mujtaba Imam Rizwi
Please sign in to leave a comment.
Comments
1 comment