<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I need help in JSON adding the invoice number via API in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87126#M54804</link>
    <description>&lt;P&gt;invoiceNumber does not appear as a property of the object transactionRequest.&lt;BR /&gt;But&amp;nbsp; &lt;SPAN class=""&gt;"poNumber"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"456654" is an optional property of the transactionRequest object.&lt;BR /&gt;If poNumber does not work for you because of business logic, then consider, the transactionRequest object, property:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"userFields": { "userField": [ { "name": "InvoiceNumber", "value": "123456" }, { "name": "favorite_color", "value": "blue" } ] }&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;I have not personally done this, I'm just reading the documentation.&lt;BR /&gt;hth!&lt;BR /&gt;David&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 02:55:58 GMT</pubDate>
    <dc:creator>marine2026</dc:creator>
    <dc:date>2023-07-27T02:55:58Z</dc:date>
    <item>
      <title>I need help in JSON adding the invoice number via API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87113#M54798</link>
      <description>&lt;P&gt;I need help in JSON adding the invoice number via API&lt;/P&gt;&lt;P&gt;The following code works great:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;"{&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"createTransactionRequest\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"merchantAuthentication\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"name\": \"" &amp;amp; $name||Company_API_Login &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"transactionKey\": \"" &amp;amp; $transactionKey||Company_Transaction_Key &amp;amp; "\" ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}, ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"refId\": \"" &amp;amp; $refId||Appointment_Serial_Id &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"transactionRequest\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"transactionType\": \"" &amp;amp; $transactionType||authCaptureTransaction &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"amount\": \"" &amp;amp; $amount||appt_charge_total &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"profile\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"customerProfileId\": \"" &amp;amp; $customerProfileId||auth_account_profile_id &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"paymentProfile\": { \"paymentProfileId\": \"" &amp;amp; $paymentProfile ||auth_account_payment_id &amp;amp; "\" } ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;}, ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"lineItems\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"lineItem\": { ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"itemId\": \"" &amp;amp; $itemId||appt_id_serial &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"name\": \"" &amp;amp; $name||type_of_service &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"description\": \"" &amp;amp; $description ||account_type_of_service &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"quantity\": \"" &amp;amp; $quantity||appt_duration_total &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"unitPrice\": \"" &amp;amp; "0" &amp;amp; "\", ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;\"taxable\": \"" &amp;amp; "true" &amp;amp; "\" ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} ¶&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}"&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;How would I add invoiceNumber to that code.&lt;/P&gt;&lt;P&gt;I have been trying for an hour an can't get it.&lt;/P&gt;&lt;P&gt;I don't do this all the time and I am so close!&lt;/P&gt;&lt;P&gt;I really appreciate any feedback.&lt;/P&gt;&lt;P&gt;Troy&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 01:16:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87113#M54798</guid>
      <dc:creator>troyk</dc:creator>
      <dc:date>2023-07-26T01:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in JSON adding the invoice number via API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87126#M54804</link>
      <description>&lt;P&gt;invoiceNumber does not appear as a property of the object transactionRequest.&lt;BR /&gt;But&amp;nbsp; &lt;SPAN class=""&gt;"poNumber"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"456654" is an optional property of the transactionRequest object.&lt;BR /&gt;If poNumber does not work for you because of business logic, then consider, the transactionRequest object, property:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"userFields": { "userField": [ { "name": "InvoiceNumber", "value": "123456" }, { "name": "favorite_color", "value": "blue" } ] }&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;I have not personally done this, I'm just reading the documentation.&lt;BR /&gt;hth!&lt;BR /&gt;David&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 02:55:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87126#M54804</guid>
      <dc:creator>marine2026</dc:creator>
      <dc:date>2023-07-27T02:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in JSON adding the invoice number via API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87130#M54808</link>
      <description>&lt;P&gt;Have you configured your Account to accept Invoice No?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 03:26:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87130#M54808</guid>
      <dc:creator>marine2026</dc:creator>
      <dc:date>2023-07-27T03:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: I need help in JSON adding the invoice number via API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87203#M54860</link>
      <description>&lt;P&gt;I spoke to an 'API' rep at authorize. And even though the invoiceNumber is listed in the 'request fields definition' section of the documentation. She said that it was not available thru API, although it WAS available when you charged a CC manually thru their interface. - It all made no sense to me....| - I have opted to put the invoice number at the beginning of the description for the clients reference. - Problem solved, although not the cleanest. - thank you Troy&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:47:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/I-need-help-in-JSON-adding-the-invoice-number-via-API/m-p/87203#M54860</guid>
      <dc:creator>troyk</dc:creator>
      <dc:date>2023-08-02T11:47:37Z</dc:date>
    </item>
  </channel>
</rss>

