{"id":2583,"date":"2022-11-14T00:43:54","date_gmt":"2022-11-13T19:43:54","guid":{"rendered":"https:\/\/omar-iqbal.com\/?p=2583"},"modified":"2023-11-23T19:06:43","modified_gmt":"2023-11-23T14:06:43","slug":"create-and-post-free-text-invoice-using-xpp-code","status":"publish","type":"post","link":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/","title":{"rendered":"Create and post free text invoice using X++ code"},"content":{"rendered":"\n<p>In this article we will see how we can create and post free text invoice using X++ code in Microsoft Dynamics Finance &amp; Operations.<\/p>\n\n\n\n<p>We will create a new class named as <strong>FreeTextInvoiceHelper<\/strong> and in this class we will add some methods and using those method we will create and post free text invoice.<\/p>\n\n\n\n<h4 id=\"creation-of-free-text-invoice-header\" class=\"wp-block-heading\">Creation of Free Text Invoice header<\/h4>\n\n\n\n<p>Create a new method named as <strong>createCustInvoiceHeader<\/strong> in this class to create the <strong>CustInvoiceTable<\/strong> record.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public CustInvoiceTable createCustInvoiceHeader(TransDate _invoiceDate , DueDate _dueDate, CustAccount _custAccount = '', CustGroupId _custGroup = '')\n    {\n        CustInvoiceTable custInvoiceTable;\n        CustTable        custTable;\n\n        custTable = CustTable::find(_custAccount);\n        custInvoiceTable.initFromCustTable(custTable);\n\n        custInvoiceTable.CustGroup                          = _custGroup;\n        custInvoiceTable.OrderAccount                       = _custAccount;\n        custInvoiceTable.InvoiceAccount                     = _custAccount;\n        custInvoiceTable.modifiedField(fieldNum(CustInvoiceTable, OrderAccount));\n        custInvoiceTable.InvoiceDate                        = _invoiceDate;\n        custInvoiceTable.DueDate                            = _dueDate;\n\n        if(custInvoiceTable.validateWrite())\n        {\n            custInvoiceTable.insert();\n        }\n\n        return custInvoiceTable;\n    }<\/pre>\n\n\n\n<h4 id=\"creation-of-free-text-invoice-line\" class=\"wp-block-heading\">Creation of Free Text Invoice line<\/h4>\n\n\n\n<p>Create a new method named as <strong>createCustInvoiceLine<\/strong> in this class to create the <strong>CustInvoiceLine<\/strong> record.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void createCustInvoiceLine(CustInvoiceTable _custInvoiceTable, TransactionTextLarge _description = '', TaxItemGroup _taxItemGroup = '', TaxGroup _taxGroup = '', InvoiceQuantity _qty = 1, InvoiceUnitPrice _unitPrice = 1, LedgerDimensionValueSet _defaultDimension = 0, LedgerDimensionDefaultAccount _ledgerDimension = 0)\n    {\n        CustInvoiceLine custInvoiceLine;\n        LineNum         lineNum;\n        \n        custInvoiceLine.initValue();\n        custInvoiceLine.initFromCustInvoiceTable(_custInvoiceTable);\n        \n        custInvoiceLine.Description      = _description;\n        custInvoiceLine.TaxItemGroup     = _taxItemGroup;\n        custInvoiceLine.TaxGroup         = _taxGroup;\n        custInvoiceLine.ParentRecId      = _custInvoiceTable.RecId;\n        custInvoiceLine.Quantity         = _qty;\n        custInvoiceLine.modifiedField(fieldNum(CustInvoiceLine, Quantity));\n        custInvoiceLine.UnitPrice        = _unitPrice;\n        custInvoiceLine.modifiedField(fieldNum(CustInvoiceLine, UnitPrice));\n        custInvoiceLine.AmountCur        = custInvoiceLine.Quantity * custInvoiceLine.UnitPrice;\n        custInvoiceLine.DefaultDimension = _defaultDimension;\n        custInvoiceLine.LedgerDimension  = _ledgerDimension;\n\n        if(!lineNum)\n        {\n            lineNum = CustInvoiceLine::lastLineNum_W(custInvoiceLine.ParentRecId);\n        }\n\n        lineNum += 1;\n        custInvoiceLine.LineNum = lineNum;\n\n        if(custInvoiceLine.validateWrite())\n        {\n            custInvoiceLine.insert();\n        }\n    }<\/pre>\n\n\n\n<h4 id=\"posting-of-free-text-invoice\" class=\"wp-block-heading\">Posting of Free Text Invoice<\/h4>\n\n\n\n<p>For posting a free text invoice we will create another method named as <strong>postCustInvoice<\/strong>, this takes <strong>CustInvoiceTable<\/strong> record as parameter.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public void postCustInvoice(CustInvoiceTable _custInvoiceTable)\n    {\n        CustPostInvoice custPostInvoice;\n\n        custPostInvoice = new CustPostInvoice(_custInvoiceTable);\n\n        ttsbegin;\n        custPostInvoice.run();\n        ttscommit;\n    }<\/pre>\n\n\n\n<p>Thank you for reading this article hope you find it useful.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/\" target=\"_blank\" rel=\"noreferrer noopener\">Omar Iqbal<\/a><\/p>\n\n\n\n<p>Technical Consultant<\/p>\n\n\n\n<p>References:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/mafsarkhan.blogspot.com\/2009\/08\/create-and-post-free-text-invoice-in-ax.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mafsarkhan.blogspot.com\/2009\/08\/create-and-post-free-text-invoice-in-ax.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/kishoredynamics11.blogspot.com\/2021\/07\/creating-and-posting-free-text-invoice.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/kishoredynamics11.blogspot.com\/2021\/07\/creating-and-posting-free-text-invoice.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.schweda.net\/blog_ax.php?bid=644&amp;wdl=en\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.schweda.net\/blog_ax.php?bid=644&amp;wdl=en<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"In this article we will see how we can create and post free text invoice using X++ code&hellip;\n","protected":false},"author":1,"featured_media":2586,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,42,30],"tags":[21,20,44,49,33,50,31],"class_list":{"0":"post-2583","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-finance-operations","8":"category-microsoft-dynamics-ax","9":"category-x","10":"tag-finance-operations","11":"tag-finops","12":"tag-inventory-ownership-change","13":"tag-inventory-ownership-change-journal","14":"tag-microsoft-dynamics-ax","15":"tag-post-ownership-journal","16":"tag-x","17":"cs-entry","18":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"In this article we will see how we can create and post free text invoice using X++ code&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Omar Iqbal&#039;s Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/umerk26\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-13T19:43:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T14:06:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"518\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"omar_iqbal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/omarshykh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"omar_iqbal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\"},\"author\":{\"name\":\"omar_iqbal\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"headline\":\"Create and post free text invoice using X++ code\",\"datePublished\":\"2022-11-13T19:43:54+00:00\",\"dateModified\":\"2023-11-23T14:06:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\"},\"wordCount\":169,\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg\",\"keywords\":[\"Finance &amp; Operations\",\"FinOps\",\"inventory ownership change\",\"inventory ownership change journal\",\"Microsoft Dynamics AX\",\"post ownership journal\",\"X++\"],\"articleSection\":[\"Finance &amp; Operations\",\"Microsoft Dynamics AX\",\"X++\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\",\"url\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\",\"name\":\"Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/omar-iqbal.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg\",\"datePublished\":\"2022-11-13T19:43:54+00:00\",\"dateModified\":\"2023-11-23T14:06:43+00:00\",\"author\":{\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\"},\"breadcrumb\":{\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage\",\"url\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg\",\"contentUrl\":\"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg\",\"width\":518,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/omar-iqbal.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Finance &amp; Operations\",\"item\":\"https:\/\/omar-iqbal.com\/index.php\/category\/finance-operations\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create and post free text invoice using X++ code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/omar-iqbal.com\/#website\",\"url\":\"https:\/\/omar-iqbal.com\/\",\"name\":\"Omar Iqbal&#039;s Blog\",\"description\":\"Associate Technical Consultant\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/omar-iqbal.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4\",\"name\":\"omar_iqbal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/omar-iqbal.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g\",\"caption\":\"omar_iqbal\"},\"sameAs\":[\"https:\/\/omar-iqbal.com\",\"https:\/\/www.facebook.com\/umerk26\",\"https:\/\/www.instagram.com\/omariqbal_here\/\",\"https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/omarshykh\"],\"url\":\"https:\/\/omar-iqbal.com\/index.php\/author\/omar_iqbal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/","og_locale":"en_US","og_type":"article","og_title":"Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog","og_description":"In this article we will see how we can create and post free text invoice using X++ code&hellip;","og_url":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/","og_site_name":"Omar Iqbal&#039;s Blog","article_author":"https:\/\/www.facebook.com\/umerk26","article_published_time":"2022-11-13T19:43:54+00:00","article_modified_time":"2023-11-23T14:06:43+00:00","og_image":[{"width":518,"height":500,"url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg","type":"image\/jpeg"}],"author":"omar_iqbal","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/omarshykh","twitter_misc":{"Written by":"omar_iqbal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#article","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/"},"author":{"name":"omar_iqbal","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"headline":"Create and post free text invoice using X++ code","datePublished":"2022-11-13T19:43:54+00:00","dateModified":"2023-11-23T14:06:43+00:00","mainEntityOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/"},"wordCount":169,"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg","keywords":["Finance &amp; Operations","FinOps","inventory ownership change","inventory ownership change journal","Microsoft Dynamics AX","post ownership journal","X++"],"articleSection":["Finance &amp; Operations","Microsoft Dynamics AX","X++"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/","url":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/","name":"Create and post free text invoice using X++ code - Omar Iqbal&#039;s Blog","isPartOf":{"@id":"https:\/\/omar-iqbal.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage"},"image":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage"},"thumbnailUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg","datePublished":"2022-11-13T19:43:54+00:00","dateModified":"2023-11-23T14:06:43+00:00","author":{"@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4"},"breadcrumb":{"@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#primaryimage","url":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg","contentUrl":"https:\/\/omar-iqbal.com\/wp-content\/uploads\/2022\/11\/FTI_xpp.jpg","width":518,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/omar-iqbal.com\/index.php\/2022\/11\/14\/create-and-post-free-text-invoice-using-xpp-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/omar-iqbal.com\/"},{"@type":"ListItem","position":2,"name":"Finance &amp; Operations","item":"https:\/\/omar-iqbal.com\/index.php\/category\/finance-operations\/"},{"@type":"ListItem","position":3,"name":"Create and post free text invoice using X++ code"}]},{"@type":"WebSite","@id":"https:\/\/omar-iqbal.com\/#website","url":"https:\/\/omar-iqbal.com\/","name":"Omar Iqbal&#039;s Blog","description":"Associate Technical Consultant","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/omar-iqbal.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/bf76b3bc6da3287f49fd4713189accd4","name":"omar_iqbal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/omar-iqbal.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/77c8e6d449070e5f91d3609398694fed75736ca7b40f3b8b29a94259cb446d49?s=96&d=mm&r=g","caption":"omar_iqbal"},"sameAs":["https:\/\/omar-iqbal.com","https:\/\/www.facebook.com\/umerk26","https:\/\/www.instagram.com\/omariqbal_here\/","https:\/\/www.linkedin.com\/in\/omar-iqbal-here\/","https:\/\/x.com\/https:\/\/twitter.com\/omarshykh"],"url":"https:\/\/omar-iqbal.com\/index.php\/author\/omar_iqbal\/"}]}},"_links":{"self":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/comments?post=2583"}],"version-history":[{"count":2,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2583\/revisions"}],"predecessor-version":[{"id":2585,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/posts\/2583\/revisions\/2585"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media\/2586"}],"wp:attachment":[{"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/media?parent=2583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/categories?post=2583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omar-iqbal.com\/index.php\/wp-json\/wp\/v2\/tags?post=2583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}