ProvOrian.resendB2G Method

Use this method to resend a previously submitted B2G invoice to myDATA. 
Only use this method if ΚΕΔ returns the "SoftReject" status, which indicates that your invoice is generally correct but requires some field changes.
Public Function resendB2G( _ 
ByVal correctB2G As correctB2G
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> resendB2G( 
correctB2G correctB2G 
)
This language is not supported or no code example is available.

Parameters

correctB2G
correctB2G

It contains the corrected B2G fields.

Return Value

Dictionary<string, string>
Example
 
 var por = new ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", false);
 
 // In this example, the ΚΕΔ soft rejected our invoice due to the wrong government ID we provided.
 // So, we must only change the govID field and resend it.
 var newB2G = new ProvOrian.correctB2G();
 newB2G.mark = "400000000000001"; // MANDATORY
 newB2G.govID = "0000.0000.0000.0000"; // Use the method myDATATools.getGovs to find the correct government organization.
 
 Dictionary<string, string> B2GRes = por.resendB2G(newB2G);
 					
This language is not supported or no code example is available.
 Dim por As ProvOrian = New ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", False)
 
 'In this example, the ΚΕΔ soft rejected our invoice due to the wrong government ID we provided.
 'So, we must only change the govID field and resend it.
 Dim newB2G As New ProvOrian.correctB2G
 newB2G.mark = "400000000000001" 'MANDATORY
 newB2G.govID = "0000.0000.0000.0000" 'Use the method myDATATools.getGovs to find the correct government organization.
 
 Dim B2GRes As Dictionary(Of String, String) = por.resendB2G(newB2G)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition