credit notes
Returns all credit note drafts for given company.
get/companies/{companySlug}/creditNotes/drafts
Query parameters
pageinteger
Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.
pageSizeinteger
Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.
Response
OK
Example response
[
{
"draftId": 2888156,
"uuid": "123e4567-e89b-12d3-a456-426655440000",
"type": "invoice",
"lastModifiedDate": "2023-04-03",
"issueDate": "2018-04-03",
"daysUntilDueDate": 15,
"currency": "NOK",
"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"
}
],
"net": 4500,
"gross": 5000,
"bankAccountNumber": "11112233334",
"paymentAccount": "1920:10001",
"customers": [
{
"contactId": 2747365,
"createdDate": "2018-04-03",
"lastModifiedDate": "2018-04-03",
"name": "Fiken AS",
"email": "kontakt@fiken.gmail",
"organizationNumber": "913312465",
"customerNumber": 51248,
"customerAccountCode": "1500:20001",
"phoneNumber": "62158537",
"memberNumber": 5464,
"memberNumberString": "5464",
"supplierAccountCode": "2400:20001",
"bankAccountNumber": "11112233334",
"contactPerson": [
{
"contactPersonId": 2747365,
"name": "Betty Boop",
"email": "bb@gmail.com",
"phoneNumber": "98573564",
"address": {
"streetAddress": "Karl Johan 34",
"streetAddressLine2": "H0405",
"city": "Oslo",
"postCode": "0550",
"country": "Norway"
}
}
],
"notes": [
{
"author": "Betty Boop",
"note": "Garage 45"
}
],
"currency": "NOK",
"language": "Norwegian",
"inactive": true,
"daysUntilInvoicingDueDate": 15,
"discount": 25,
"address": {
"streetAddress": "Karl Johan 34",
"streetAddressLine2": "H0405",
"city": "Oslo",
"postCode": "0550",
"country": "Norway"
},
"documents": [
{
"uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
"filename": "invoice_24760.pdf",
"identifier": "24760",
"type": "invoice"
}
]
}
],
"attachments": [
{
"uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
"filename": "invoice_24760.pdf",
"identifier": "24760",
"type": "invoice"
}
],
"createdFromInvoiceId": 73408306,
"projectId": 73408306,
"roundingType": "none",
"startDate": "2018-04-03",
"endDate": "2019-04-03",
"frequency": {
"interval": 1,
"intervalUnit": "MONTH"
}
}
]Changes
No recorded changes to this endpoint across all 1 revision of this API.