This endpoint retrieves detailed information about a specific credit note identified by its unique id. It provides comprehensive data related to the credit note, including associated vendor, invoice, and tax information.
Method: GET
Endpoint: {{host}}/apis/external/vendor/creditNote/:id/getCreditNoteDetails
Path Parameter:
id (required): The unique identifier of the credit note for which details are being requested.Status Code: 200
Content-Type: application/json
This response structure includes various nested objects and arrays, providing detailed information about the credit note, its associated vendor, invoice, and other relevant data.
This endpoint retrieves detailed information about a specific credit note identified by its unique ID. It provides comprehensive data regarding the credit note, including its associated invoice, vendor, and tax information.
Method: GET
Endpoint: {{host}}/apis/external/vendor/creditNote/:id/getCreditNoteDetails
Path Parameter:
id: The unique identifier of the credit note for which details are being requested.Upon a successful request, the server responds with a JSON object containing the following fields:
id: Unique identifier for the credit note.
creditNoteId: Identifier for the credit note.
billNo: The bill number associated with the credit note.
date: The date of the credit note.
createdAt: Timestamp of when the credit note was created.
updatedAt: Timestamp of the last update to the credit note.
amount: Total amount of the credit note.
currencyAmount: Amount in the specified currency.
currency: Currency type for the transaction.
stage: Current stage of the credit note.
status: Status of the credit note.
service: Service associated with the credit note.
categoryId: Identifier for the category of the credit note.
owner: Object containing details about the owner of the credit note.
invoice: Object containing details about the associated invoice.
vendor: Object containing details about the vendor related to the credit note.
officeData: Information about the office associated with the credit note.
shipToData: Information about the shipping address.
name: Name associated with the credit note.
poId: Purchase order ID related to the credit note.
tag: Tags associated with the credit note.
fraud: Boolean indicating if the credit note is marked for fraud.
duplicates: List of duplicate entries related to the credit note.
taxInfo: Object containing tax-related information.
config: Configuration details including items and actions related to the credit note.
timelines: Array of actions and events related to the credit note.
attrs: Additional attributes related to the credit note.
items: Array of items included in the credit note.
integrationData: Data related to integration status and actions.
This detailed structure allows consumers of the API to understand the various aspects of the credit note and its associated entities, facilitating better integration and usage of the credit note data.