Page 1 of 1

### Application Number In Register Page

Posted: Mon May 13, 2019 10:37 am
Hello,

i have one question about patent register. I try to get application's register with python.

Everything is working great. But i have one question about Application number. At the response, i get the application number without (".digit").

At register page for example ; "15150367.9"
Response : "15150367"

How can i reach the full number like register?

Best Regards,

Mehmet Baturay

### Re: Application Number In Register Page

Posted: Tue May 14, 2019 6:08 am
Hi,

Unfortunately, we don't include the check digit into OPS. We only offer serial number, up to the digit.

Regards,
Vesna for OPS support

### Re: Application Number In Register Page

Posted: Mon Sep 30, 2019 12:13 pm
Hi,
why do you not calculate the checkdigit yourself from the 8 digits of the application number?
A simple routine in VB.NET looks like this:

Code: Select all

``````Public Function CheckDigit(ByVal strAn As String) As String
Dim ret As Integer = 0
If strAn.Length <> 8 Then
Throw New Exception("Wrong input: " & strAn)
End If
Dim an(8) As Integer
For i = 1 To 8
an(i) = Val(Mid(strAn, i, 1))
If i Mod 2 = 0 Then an(i) = an(i) * 2
Next
Dim crosssum As Integer = 0
For i = 1 To 8
If an(i) >= 10 Then
an(i) = an(i) - 10
crosssum += 1
crosssum += an(i)
Else
crosssum += an(i)
End If
Next
ret = 10 - crosssum Mod 10
If ret = 10 Then ret = 0
Return Format(ret, "0")
End Function
``````