What generated an accounting entry
Default:null
Enum:"AMORTIZATION""DISPOSAL""BALANCE""RECEIPT""PAYMENT""POS_INVOICE""DELIVERY_NOTE""PAYROLL""PAYROLL_PAYMENT""SAGE"
POST
curl -i -X POST \
https://api.prana.software/api/v1/entry \
-H 'Content-Type: application/json'OK
What generated an accounting entry
Default:null
Enum:"AMORTIZATION""DISPOSAL""BALANCE""RECEIPT""PAYMENT""POS_INVOICE""DELIVERY_NOTE""PAYROLL""PAYROLL_PAYMENT""SAGE"
Enum:"INVOICE""PURCHASE_INVOICE""VAT_RECORD_CHARGED""VAT_RECORD_SUPPORTED""RECEIPT_COLLECTION""PURCHASE_RECEIPT_COLLECTION""REMITTANCE""PURCHASE_REMITTANCE""ENTRY""OPENING"
Response
{ "id": "", "code": 0, "periodId": 0, "journal": { "id": "", "code": "SALES", "description": "Sales Journal" }, "entryDate": "2019-08-24", "valueDate": "2019-08-24", "currency": null, "currencyChange": 0, "document": "string", "originalDocument": "string", "observations": "string", "debit": 0, "credit": 0, "consolidated": true, "origin": "AMORTIZATION", "vatRecord": { "id": "", "vatType": "SUPPORTED", "billingSeriesCode": "BS001", "billingSeriesDescription": "Standard Billing Series", "code": 12345, "vatOperationTypeCode": "E01", "vatOperationTypeDescription": "Intra-community acquisition of goods", "description": "ACME Inc.", "cif": "B12345678", "invoiceDate": "2024-05-15", "accountingDate": "2024-05-16", "totalAmount": 1500, "invoiceDescription": "Purchase of raw materials", "invoiceNumber": "INV-2024-001", "number": "VAT-2024-001", "billCode": "BILL-2024-001", "name": "VAT Transaction", "accountId": 6000, "accountCode": "6000000001", "customerId": 100, "customerCountry": "ES", "supplierId": 200, "supplierCountry": "FR", "entryCode": 10123, "siiResponse": "ACEPTADA", "siiDate": "2024-05-16", "totalRecAmount": 5.2, "totalVisibleVatAmount": 2100, "paymentMethodDescription": "Transferencia", "corrective": false, "totalIrpfAmount": 150, "observations": "Regular tax settlement", "entryId": 5001, "expirationDate": "2024-06-15", "siiState": 1, "totalTaxableAmount": 10000, "totalVatAmount": 2100, "invoiceId": 1000, "purchaseInvoiceId": 2000, "filingStatus": "PENDING", "filingStatus349": "PENDING", "filingStatus115": "PENDING", "deductible": true, "subjectToVat": true, "totalDisbursementAmount": 50 }, "paymentId": 0, "exported": true, "controlCode": 0, "lines": [ { … } ], "files": [ { … } ], "receiptCollection": { "id": "", "orderNumber": 1001, "collectionDate": "2024-08-07", "country": "ES", "accountCode": "470000", "observations": "Payment received", "amount": 1500, "accounted": true, "bankName": "Santander", "amountReconciliation": 1500, "amountReconciliationCompanyCurrency": 1500, "customerCode": "string", "customerBusinessName": "string", "customerName": "string", "paymentType": "CASH" }, "purchaseReceiptCollection": { "id": "", "orderNumber": 1001, "collectionDate": "2024-08-07", "country": "ES", "accountCode": "470000", "observations": "Payment received", "amount": 1500, "accounted": true, "bankName": "Santander", "amountReconciliation": 1500, "amountReconciliationCompanyCurrency": 1500, "supplierCode": "SUPP001", "supplierBusinessName": "Supplier S.A.", "supplierName": "Supplier Company" }, "remittanceReceipt": { "id": "", "orderNumber": 1001, "collectionDate": "2024-08-07", "country": "ES", "accountCode": "470000", "observations": "Payment received", "amount": 1500, "accounted": true, "bankName": "Santander", "amountReconciliation": 1500, "amountReconciliationCompanyCurrency": 1500, "customerCode": "string", "customerBusinessName": "string", "customerName": "string", "paymentType": "CASH" }, "closingType": "OPENING", "exportedAccounting": true, "documentType": "INVOICE", "documentLinkedId": 0 }