Invoices

Number of APIs: 6

  1. Search invoices GET {{akaunting_url}}/documents?search=type:invoice document_number:000037&page={{akaunting_page}}&limit={{akaunting_limit}}

  2. Create invoice POST {{akaunting_url}}/documents?category_id=3&document_number=0000003&status=draft&issued_at=2022-04-23&due_at=2022-05-22&account_id=1&currency_code=NZD&currency_rate=1&notes=This is note for invoice&contact_id=2&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]=1&items[0][total]=2&items[0][discount]=0&items[0][description]=This is custom item description&items[0][tax_ids][0]=1&items[0][tax_ids][1]=1&amount=2&type=invoice&search=type:invoice

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

  4. Update invoice PUT {{akaunting_url}}/documents/1?type=invoice&category_id=1&document_number=INV-00001&search=type:invoice&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. Add invoice payment POST {{akaunting_url}}/documents/{{akaunting_document_id}}/transactions

  6. Delete invoice DELETE {{akaunting_url}}/documents/{{akaunting_document_id}}