Bills

Number of APIs: 5

  1. Create bill POST {{akaunting_url}}/documents?type=bill&category_id=1&document_number=BILL-00001&search=type:bill&status=draft&issued_at=2021-10-21&due_at=2021-10-29&account_id=1&currency_code=EUR&currency_rate=1&notes=This is note for invoice&contact_id=1&contact_name=Name&contact_email=mail@mail.com&contact_address=Client address&items[0][item_id]=1&items[0][name]=Service&items[0][quantity]=2&items[0][price]=12&items[0][total]=24&items[0][discount]=0&items[0][description]=This is custom item description&items[0][tax_ids][0]=1&items[0][tax_ids][1]=2

  2. Search bills GET {{akaunting_url}}/documents?search=type:bill order_number:123&page={{akaunting_page}}&limit={{akaunting_limit}}

  3. Get bill GET {{akaunting_url}}/documents/{{akaunting_document_id}}?search=type:bill

  4. Update bill PUT {{akaunting_url}}/documents/1?type=bill&category_id=1&document_number=BILL-00001&search=type:bill&status=draft&issued_at=2021-10-21&due_at=2021-10-29&account_id=1&currency_code=EUR&currency_rate=1&notes=This is note for invoice&contact_id=1&contact_name=Name&contact_email=mail@mail.com&contact_address=Client address&items[0][item_id]=1&items[0][name]=Service&items[0][quantity]=2&items[0][price]=12&items[0][total]=24&items[0][discount]=0&items[0][description]=This is custom item description&items[0][tax_ids][0]=1&items[0][tax_ids][1]=2

  5. Delete bill DELETE {{akaunting_url}}/documents/{{akaunting_document_id}}