recurring invoices
POST /companies/{companySlug}/recurringInvoices
Changed onCreates a recurring invoice for a single customer. This corresponds to "Repeterende faktura" in Fiken. The number series for recurring invoices must already exist; if it does not, create the first recurring invoice in Fiken Web.
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/recurringInvoices
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Request body
Example request
{
"uuid": "123e4567-e89b-12d3-a456-426655440000",
"customerId": 7340852,
"contactPersonId": 8588156,
"startDate": "2018-04-03",
"endDate": "2019-04-03",
"daysUntilDueDate": 14,
"frequency": {
"interval": 1,
"intervalUnit": "MONTH"
},
"currency": "NOK",
"bankAccountNumber": "11112233334",
"lines": [
{
"invoiceishDraftLineId": 2888156,
"lastModifiedDate": "2018-04-03",
"description": "Goatskin, with extra-long suede cuffs",
"unitPrice": 4550,
"quantity": 5,
"discount": 25,
"comment": "One size fits all",
"incomeAccount": "3000"
}
]
}Response
Created
Changes
- info
endpoint added
- info