Skip to main content
POST
/
coa
/
api
/
v2
/
reconciliation
Create Bank Reconciliation Report
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/v2/reconciliation \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account": 123,
  "currency": "<string>",
  "statement_starting_date": "2023-12-25",
  "statement_ending_date": "2023-12-25",
  "starting_balance": 0,
  "ending_balance": 0,
  "total_credit_amount": 0,
  "total_debit_amount": 0,
  "adjustments": 0,
  "reconciled_on": "2023-12-25",
  "status": "DRAFT",
  "unmatched_statement_transactions": "<unknown>",
  "entity": 123,
  "matching_task": 123,
  "reconciled_by": 123
}
'
{
  "id": 123,
  "entity_name": "<string>",
  "account_name": "<string>",
  "account_number": "<string>",
  "account_type": "<string>",
  "account_subtype": "<string>",
  "reconciled_by_name": "<string>",
  "reconciled_by_email": "<string>",
  "approved_by_name": "<string>",
  "approved_by_email": "<string>",
  "async_task": {
    "id": 123,
    "created_by_name": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "customer": 123,
    "created_by": 123,
    "status": "PENDING",
    "error_message": "<string>",
    "error_type": "<string>",
    "retries": -1,
    "completed_at": "2023-11-07T05:31:56Z",
    "started_at": "2023-11-07T05:31:56Z",
    "celery_task_id": "<string>",
    "root_task_id": "<string>",
    "parent_task_id": "<string>",
    "trace_id": "<string>",
    "span_id": "<string>",
    "task_args": "<unknown>",
    "task_kwargs": "<unknown>",
    "result": "<unknown>",
    "content": "<unknown>"
  },
  "attachments": [
    {
      "id": 123,
      "customer": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": 123,
      "created_by_name": "<string>",
      "created_by_email": "<string>",
      "last_modified_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "url": "<string>",
      "s3_path": "<string>",
      "app": "<string>",
      "model": "<string>",
      "is_deleted": false,
      "deleted_at": "2023-11-07T05:31:56Z",
      "s3_content_type": "<string>",
      "s3_content_length": 1073741823,
      "object_id": 1073741823
    }
  ],
  "csv_statements": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "approved_on": "2023-11-07T05:31:56Z",
  "customer": 123,
  "account": 123,
  "approved_by": 123,
  "currency": "<string>",
  "statement_starting_date": "2023-12-25",
  "statement_ending_date": "2023-12-25",
  "starting_balance": 0,
  "ending_balance": 0,
  "total_credit_amount": 0,
  "total_debit_amount": 0,
  "adjustments": 0,
  "reconciled_on": "2023-12-25",
  "status": "DRAFT",
  "unmatched_statement_transactions": "<unknown>",
  "entity": 123,
  "matching_task": 123,
  "reconciled_by": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

account
integer
required
currency
string
Maximum string length: 3
statement_starting_date
string<date> | null
statement_ending_date
string<date> | null
starting_balance
number<double>
Required range: -1000000000000000000 < x < 1000000000000000000
ending_balance
number<double>
Required range: -1000000000000000000 < x < 1000000000000000000
total_credit_amount
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
total_debit_amount
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
adjustments
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
reconciled_on
string<date> | null
status
enum<string>
  • DRAFT - Draft
  • PENDING_APPROVAL - Pending Approval
  • APPROVED - Approved
  • DELETED - Deleted
Available options:
DRAFT,
PENDING_APPROVAL,
APPROVED,
DELETED
unmatched_statement_transactions
unknown
entity
integer | null
matching_task
integer | null
reconciled_by
integer | null

Response

201 - application/json
id
integer
required
entity_name
string
required
account_name
string
required
account_number
string
required
account_type
string
required
account_subtype
string
required
reconciled_by_name
string
required
reconciled_by_email
string
required
approved_by_name
string
required
approved_by_email
string
required
async_task
object
required
attachments
object[]
required
csv_statements
string
required
created_at
string<date-time>
required
last_modified_at
string<date-time>
required
approved_on
string<date-time> | null
required
customer
integer
required
account
integer
required
approved_by
integer | null
required
currency
string
Maximum string length: 3
statement_starting_date
string<date> | null
statement_ending_date
string<date> | null
starting_balance
number<double>
Required range: -1000000000000000000 < x < 1000000000000000000
ending_balance
number<double>
Required range: -1000000000000000000 < x < 1000000000000000000
total_credit_amount
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
total_debit_amount
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
adjustments
number<double> | null
Required range: -1000000000000000000 < x < 1000000000000000000
reconciled_on
string<date> | null
status
enum<string>
  • DRAFT - Draft
  • PENDING_APPROVAL - Pending Approval
  • APPROVED - Approved
  • DELETED - Deleted
Available options:
DRAFT,
PENDING_APPROVAL,
APPROVED,
DELETED
unmatched_statement_transactions
unknown
entity
integer | null
matching_task
integer | null
reconciled_by
integer | null