summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Carry a contact's currency, and let it be read and changedv0.3.0Simen A. W. Olsen2026-10-182-0/+121
| | | | | | | | | Fiken refuses an invoice draft whose currency differs from the contact's: "Currency for given customer {} is different from currency for the invoice draft {}". A contact created without one defaults to NOK, so anything invoiced in another currency failed at the draft with nothing to explain it. Adds Currency and Language to NewContact, plus Contact and UpdateContact for fixing one already made.
* Add CreateContactv0.2.0Simen A. W. Olsen2026-10-172-0/+73
| | | | | | Needed to link an order to Fiken without leaving the terminal: the signed order already carries the legal name, organisation number and address, so the contact can be made from it.
* Fiken API client and OAuth2 for Gov0.1.0Simen A. W. Olsen2026-10-1714-0/+2467
Extracted from gcbill, where it was internal/fiken and internal/fikenauth, so adaa and sokkel-billing can use the same client instead of each carrying its own. The login command named when a grant cannot be renewed is now injected (Source.LoginCommand): it was hardcoded to gcbill's, which would have sent every other caller's operator to a command that does not exist.