{ "meta": { "warnings": [ "Field not used by target system" ], "pagination": { "total": 125, "perPage": 50, "currentPage": 1, "totalPages": 3 }, "partialErrors": [ { "code": "FILE_UPLOAD_FAILED", "message": "Attachment invoice.pdf could not be uploaded to the target system." } ] }, "data": { "id": "08d52c49-b90c-4328-b1ec-623df74f904a", "code": "1", "createdDate": "2021-01-01T00:00:00Z", "description": "31 dagen", "discountDays": 10, "discountDays2": 14, "discountDaysCalculation": "10D", "discountPercentage": 5, "discountPercentage2": 3, "discountPeriods": [ { "invoiceRange": "Invoice issuance range up to day 5 of the month", "discountDeadline": "Day 15 of the current month", "discountDeadline2": "Day 25 of the current month", "paymentDeadline": "Day 30 of the current month" } ], "dueType": "DUE_IN_DAYS", "name": "31 DAYS", "paymentDays": 31, "paymentDaysCalculation": "10D", "paymentMethod": "BANK_TRANSFER", "updatedDate": "2021-01-01T00:00:00Z" }}
{ "meta": { "warnings": [ "Field not used by target system" ], "pagination": { "total": 125, "perPage": 50, "currentPage": 1, "totalPages": 3 }, "partialErrors": [ { "code": "FILE_UPLOAD_FAILED", "message": "Attachment invoice.pdf could not be uploaded to the target system." } ] }, "data": { "id": "08d52c49-b90c-4328-b1ec-623df74f904a", "code": "1", "createdDate": "2021-01-01T00:00:00Z", "description": "31 dagen", "discountDays": 10, "discountDays2": 14, "discountDaysCalculation": "10D", "discountPercentage": 5, "discountPercentage2": 3, "discountPeriods": [ { "invoiceRange": "Invoice issuance range up to day 5 of the month", "discountDeadline": "Day 15 of the current month", "discountDeadline2": "Day 25 of the current month", "paymentDeadline": "Day 30 of the current month" } ], "dueType": "DUE_IN_DAYS", "name": "31 DAYS", "paymentDays": 31, "paymentDaysCalculation": "10D", "paymentMethod": "BANK_TRANSFER", "updatedDate": "2021-01-01T00:00:00Z" }}
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is correctly populated.
You can obtain this value by using the GET Companies endpoint available under the Authentication section.