softwerkab / fortnox-csharp-api-sdk

.NET SDK for Fortnox API.
MIT License
52 stars 64 forks source link

TotalToPay on invoice #244

Closed andersjerenvik closed 2 years ago

andersjerenvik commented 2 years ago

Hi,

It seems that TotalToPay on Invoice-object is missing? Can you please add that or is it missing of a reason?

Best regards,

Anders

richardrandak commented 2 years ago

No reason.. it was probably added later. What is the difference now between Balance and TotalToPay?

I just checked some paid invoices in my sandbox.. the Balance is 0 while TotalToPay is equal to Total.. confusing :) What is then the difference between Total and TotalToPay? Now I am curious, could you please explain how are you using it?

andersjerenvik commented 2 years ago

TotalToPay is how much to pay for the invoice in total.

And balance is TotalToPay minus payments done on that invoice.

Från: richardrandak @.> Skickat: den 18 maj 2022 13:53 Till: FortnoxAB/csharp-api-sdk @.> Kopia: Anders Jerenvik @.>; Author @.> Ämne: Re: [FortnoxAB/csharp-api-sdk] TotalToPay on invoice (Issue #244)

No reason.. it was probably added later. What is the difference now between Balance and TotalToPay?

— Reply to this email directly, view it on GitHubhttps://github.com/FortnoxAB/csharp-api-sdk/issues/244#issuecomment-1129913128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJJUAFLIY2UVTADUDB2QWLVKTKY7ANCNFSM5WHW6O4Q. You are receiving this because you authored the thread.Message ID: @.**@.>>

richardrandak commented 2 years ago

The missing property was added. Please update to v4.3.4

andersjerenvik commented 2 years ago

Thanks!!!

Från: richardrandak @.> Skickat: den 25 maj 2022 09:32 Till: FortnoxAB/csharp-api-sdk @.> Kopia: Anders Jerenvik @.>; Author @.> Ämne: Re: [FortnoxAB/csharp-api-sdk] TotalToPay on invoice (Issue #244)

The missing property was added. Please update to v4.3.4

— Reply to this email directly, view it on GitHubhttps://github.com/FortnoxAB/csharp-api-sdk/issues/244#issuecomment-1136892318, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJJUACLKKAR5AXFAWQWPO3VLXJOBANCNFSM5WHW6O4Q. You are receiving this because you authored the thread.Message ID: @.**@.>>