api delete document and document line