Loading…
Loading…
Accounting API · write, waits for approval · 100% field coverage
Your agent can create credit note in Fortnox through Apideck's Accounting API, the same call it makes for every Accounting app. It changes data in the customer's Fortnox account, so it stops with the exact request until a person approves it. Apideck adds the customer's Fortnox credentials, so no token ever reaches the agent.
POST https://unify.apideck.com/accounting/credit-notes
Headers: x-apideck-service-id: fortnox, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-credit-notes-add. Agent operation id: unified.accounting.creditNotesAdd.
| Field | Type | Description |
|---|---|---|
| number | string | Credit note number. |
| customer | object | The customer this entity is linked to. |
| company_id | string | The company ID the transaction belongs to |
| subsidiary | object | |
| location_id | string | The ID of the location |
| department_id | string | The ID of the department |
| currency | string | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ |
| currency_rate | number | Currency Exchange Rate at the time entity was recorded/generated. |
| tax_inclusive | boolean | Amounts are including tax |
| sub_total | number | Sub-total amount, normally before tax. |
| total_amount · required | number | Amount of transaction |
| total_tax | number | Total tax amount applied to this invoice. |
| tax_code | string | Applicable tax id/code override if tax is not supplied on a line item basis. |
| balance | number | The balance reflecting any payments made against the transaction. |
| remaining_credit | number | Indicates the total credit amount still available to apply towards the payment. |
| status | string | Status of credit notes |
| reference | string | Optional reference message ie: Debit remittance detail. |
| date_issued | string | Date credit note issued - YYYY:MM::DDThh:mm:ss.sTZD |
| date_paid | string | Date credit note paid - YYYY:MM::DDThh:mm:ss.sTZD |
| type | string | Whether this credit note reduces an amount owed by a customer (accounts receivable) or owed to a supplier (accounts paya |
| account | object | |
| line_items | array | |
| allocations | array | |
| note | string | Optional note to be associated with the credit note. |
| terms | string | Optional terms to be associated with the credit note. |
| terms_id | string | The ID of the payment terms |
| billing_address | object | |
| shipping_address | object | |
| tracking_categories | array | A list of linked tracking categories. |
| custom_fields | array | |
| row_version | string | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is m |
The same call works for each of these; only the service id changes.
Access FinancialsAcumaticaAlegraDualentryFreeAgentFreshBooksHoldedIntuit Enterprise SuiteMicrosoft Dynamics 365 Business CentralMYOB AcumaticaNetSuiteOdooQuickBooksRestaurant365RilletSage Business Cloud AccountingSage IntacctSage Intacct RESTStripeVisma NetvisorWafeqXeroZoho Books