GET
/api-v1/sales-invoice/accounting/{id}
curl \
--request GET 'https://wyzio.app/api-v1/sales-invoice/accounting/{id}' \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
"emissionEntry": {
"id": 42,
"organizationId": 42,
"entryId": 42,
"entryDate": "string",
"description": "string",
"amount": 42.0,
"journalLines": [
{
"id": 42,
"journalEntryId": 42,
"accountId": 42,
"accountNumber": 42,
"description": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"accountCurrencyId": 42,
"accountCurrencyCode": "string",
"foreignCurrencyId": 42,
"foreignCurrencyCode": "string",
"accountDebit": "string",
"accountCredit": "string",
"foreignDebit": "string",
"foreignCredit": "string",
"companyDebit": "string",
"companyCredit": "string",
"departmentId": 42,
"departmentName": "string",
"contactId": 42,
"contactName": "string",
"orderId": 42,
"orderIdToDisplay": "string",
"articleId": 42,
"articleIdToDisplay": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"vatCodes": [
{
"id": 42,
"code": "string",
"title": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"countryId": 42,
"startDate": "string",
"endDate": "string",
"effectiveDate": "string"
}
],
"vatCodesConcatenated": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"accountName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"officeId": 42,
"officeName": "string"
}
],
"type": "OPENING",
"warnings": "string",
"isUnmodifiable": true
},
"paymentEntries": [
{
"id": 42,
"organizationId": 42,
"entryId": 42,
"entryDate": "string",
"description": "string",
"amount": 42.0,
"journalLines": [
{
"id": 42,
"journalEntryId": 42,
"accountId": 42,
"accountNumber": 42,
"description": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"accountCurrencyId": 42,
"accountCurrencyCode": "string",
"foreignCurrencyId": 42,
"foreignCurrencyCode": "string",
"accountDebit": "string",
"accountCredit": "string",
"foreignDebit": "string",
"foreignCredit": "string",
"companyDebit": "string",
"companyCredit": "string",
"departmentId": 42,
"departmentName": "string",
"contactId": 42,
"contactName": "string",
"orderId": 42,
"orderIdToDisplay": "string",
"articleId": 42,
"articleIdToDisplay": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"vatCodes": [
{
"id": 42,
"code": "string",
"title": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"countryId": 42,
"startDate": "string",
"endDate": "string",
"effectiveDate": "string"
}
],
"vatCodesConcatenated": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"accountName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"officeId": 42,
"officeName": "string"
}
],
"type": "OPENING",
"warnings": "string",
"isUnmodifiable": true
}
]
}