Description of the chart account
Default:""
Example:"Clientes"
Bank account number (IBAN)
Default:""
Example:"ES7501234567890123456789"
Operation key 340
Default:""
Enum:"USUAL_OPERATION""A""B""C""D""E""F""G""H""I"
Tax identification code type
Default:""
Enum:"NIF""NIF_VAT""PASSPORT""OFFICIAL_IDENTIFICATION_NUMBER""RESIDENCE_CERTIFICATE""ANOTHER_EVIDENT_DOCUMENT""NOT_CENSUS"
POST
curl -i -X POST \
https://api.prana.software/api/v1/accounting-chart-account \
-H 'Content-Type: application/json' \
-d '{
"code": "4300000001",
"description": "Clientes",
"active": true,
"color": "#FF5733",
"group": "",
"observations": "",
"bank": "",
"bankAccount": "ES7501234567890123456789",
"bankAccountSwift": "CAIXESBB",
"forecastType": "",
"installmentNumber": "",
"installmentDays": "",
"installmentFirstDay": "",
"installmentSecondDay": "",
"forecastMandatory": false,
"forecastWithAccountingDate": false,
"paymentEmailAddress": "",
"confirmingEmailAddress": false,
"cadastralReference": "",
"operationKey340": "USUAL_OPERATION",
"lockDate": "",
"accumulateCash": false,
"recc": false,
"creditBalance": false,
"debitBalance": false,
"higherBalanceAlert": false,
"higherBalanceAlertValue": "",
"lowerBalanceAlert": false,
"lowerBalanceAlertValue": "",
"cif": "B03186681",
"taxIdentificationCode": "NIF",
"businessName": "Clave Informática",
"address1": "",
"address2": "",
"postalCode": "",
"city": "",
"state": "",
"country": "",
"phone1": "",
"phone2": "",
"fax1": "",
"fax2": "",
"postalMail": "",
"email": "",
"web": "",
"legalRepresentativeCif": "",
"legalRepresentativeName": ""
}'OK
Operation key 340
Default:""
Enum:"USUAL_OPERATION""A""B""C""D""E""F""G""H""I"
Tax identification code type
Default:""
Enum:"NIF""NIF_VAT""PASSPORT""OFFICIAL_IDENTIFICATION_NUMBER""RESIDENCE_CERTIFICATE""ANOTHER_EVIDENT_DOCUMENT""NOT_CENSUS"
Account classification
Default:""
Enum:"ASSET""LIABILITY""INCOME""EXPENSE""EXPENSE_IMPUTED_LIABILITY""INCOME_IMPUTED_LIABILITY"
Response
{ "id": "", "code": "4300000001", "description": "Clientes", "active": true, "color": "#FF5733", "parent": { "id": "", "code": "1000", "description": "Cash account" }, "observations": "", "bank": null, "bankAccount": "ES7501234567890123456789", "bankAccountSwift": "CAIXESBB", "forecastType": { "id": "", "code": "string", "description": "string", "mandatoryBank": true, "paymentType": "BANK_ACCOUNT" }, "installmentNumber": "", "installmentDays": "", "installmentFirstDay": "", "installmentSecondDay": "", "forecastMandatory": false, "forecastWithAccountingDate": false, "paymentEmailAddress": "", "confirmingEmailAddress": false, "cadastralReference": "", "operationKey340": "USUAL_OPERATION", "lockDate": "", "accumulateCash": false, "recc": false, "creditBalance": false, "debitBalance": false, "higherBalanceAlert": false, "higherBalanceAlertValue": "", "lowerBalanceAlert": false, "lowerBalanceAlertValue": "", "cif": "B03186681", "taxIdentificationCode": "NIF", "businessName": "Clave Informática", "address1": "", "address2": "", "postalCode": "", "city": "", "state": "", "country": null, "phone1": "", "phone2": "", "fax1": "", "fax2": "", "postalMail": "", "email": "", "web": "", "legalRepresentativeCif": "", "legalRepresentativeName": "", "classification": "ASSET", "nature": "CREDITOR", "sign": "POSITIVE", "statementBalanceColor": "RED", "accountingStatementColor": "RED" }